Skip to content

Instantly share code, notes, and snippets.

@stffrdhrn
Last active May 10, 2016 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stffrdhrn/9534262b1d682fa7d6d54bc93e3f2449 to your computer and use it in GitHub Desktop.
Save stffrdhrn/9534262b1d682fa7d6d54bc93e3f2449 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
## TO BUILD ##
../binutils-gdb/configure --target=or1k-elf --prefix=/opt/shorne/software/or1k --enable-shared --disable-itcl --disable-tk -
-disable-tcl --disable-winsup --disable-gdbtk --disable-libgui --disable-rda --disable-sid --with-sysroot --disable-newlib --dis
able-libgloss --with-system-zlib --enable-sim --disable-or1ksim --enable-cgen-maint
NOTE: --enable-cgen-maint is not needed and requires cgen from cvs
## TO TEST ##
NOTE: need to be in the gdb build director
# provide dejagnu with the location of the sim board configs (in the old or1k-src)
export DEJAGNU=${gitroot}/or1k-src/site.exp
cd gdb
# Run tests only for gdb, use the or1k-elf-sim board
make check RUNTESTFLAGS="--target_board=or1k-elf-sim"
#### TEST RESULTS #####
Test run by shorne on Sun May 8 22:03:11 2016
Target is or1k-unknown-elf
Host is x86_64-pc-linux-gnu
=== gdb tests ===
Schedule of variations:
or1k-elf-sim
Running target or1k-elf-sim
Using /home/shorne/work/openrisc/or1k-src/boards/or1k-elf-sim.exp as board description file for target.
Using /usr/share/dejagnu/config/sim.exp as generic interface file for target.
Using /usr/share/dejagnu/baseboards/basic-sim.exp as board description file for target.
Using /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/config/sim.exp as tool-and-target-specific interface file.
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/O2_float_param.exp ...
UNSUPPORTED: gdb.ada/O2_float_param.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/O2_float_param.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/access_to_packed_array.exp ...
UNSUPPORTED: gdb.ada/access_to_packed_array.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/access_to_packed_array.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/addr_arith.exp ...
UNSUPPORTED: gdb.ada/addr_arith.exp: compilation foo_na07_019.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/addr_arith.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/aliased_array.exp ...
UNSUPPORTED: gdb.ada/aliased_array.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/aliased_array.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arr_arr.exp ...
UNSUPPORTED: gdb.ada/arr_arr.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arr_arr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_bounds.exp ...
UNSUPPORTED: gdb.ada/array_bounds.exp: compilation bar.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_bounds.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_char_idx.exp ...
UNSUPPORTED: gdb.ada/array_char_idx.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_char_idx.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_of_variable_length.exp ...
UNSUPPORTED: gdb.ada/array_of_variable_length.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_of_variable_length.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_ptr_renaming.exp ...
UNSUPPORTED: gdb.ada/array_ptr_renaming.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_ptr_renaming.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_return.exp ...
UNSUPPORTED: gdb.ada/array_return.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_return.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_subscript_addr.exp ...
UNSUPPORTED: gdb.ada/array_subscript_addr.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/array_subscript_addr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arraydim.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/arraydim/arraydim/inc.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arraydim/inc.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/arraydim/arraydim/inc.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arraydim/inc.c
UNSUPPORTED: gdb.ada/arraydim.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arraydim.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arrayidx.exp ...
UNSUPPORTED: gdb.ada/arrayidx.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arrayidx.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arrayparam.exp ...
UNSUPPORTED: gdb.ada/arrayparam.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arrayparam.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arrayptr.exp ...
UNSUPPORTED: gdb.ada/arrayptr.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/arrayptr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/assign_1.exp ...
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada:$cdir:$cwd
(gdb) set lang ada
(gdb) PASS: gdb.ada/assign_1.exp: Changing the language to ada
print $xxx := 1
$1 = 1
(gdb) PASS: gdb.ada/assign_1.exp: set convenience variable $xxx to 1
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/assign_1.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/atomic_enum.exp ...
UNSUPPORTED: gdb.ada/atomic_enum.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/atomic_enum.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/attr_ref_and_charlit.exp ...
UNSUPPORTED: gdb.ada/attr_ref_and_charlit.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/attr_ref_and_charlit.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bad-task-bp-keyword.exp ...
UNSUPPORTED: gdb.ada/bad-task-bp-keyword.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bad-task-bp-keyword.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/boolean_expr.exp ...
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada:$cdir:$cwd
(gdb) set lang ada
(gdb) PASS: gdb.ada/boolean_expr.exp: Changing the language to ada
print 1 = 2
$1 = false
(gdb) PASS: gdb.ada/boolean_expr.exp: print 1 = 2
print 3 = 3
$2 = true
(gdb) PASS: gdb.ada/boolean_expr.exp: print 3 = 3
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/boolean_expr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bp_enum_homonym.exp ...
UNSUPPORTED: gdb.ada/bp_enum_homonym.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bp_enum_homonym.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bp_on_var.exp ...
UNSUPPORTED: gdb.ada/bp_on_var.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bp_on_var.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bp_range_type.exp ...
UNSUPPORTED: gdb.ada/bp_range_type.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bp_range_type.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bp_reset.exp ...
UNSUPPORTED: gdb.ada/bp_reset.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/bp_reset.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/byte_packed_arr.exp ...
UNSUPPORTED: gdb.ada/byte_packed_arr.exp: compilation reprod_main.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/byte_packed_arr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/call_pn.exp ...
UNSUPPORTED: gdb.ada/call_pn.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/call_pn.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/catch_ex.exp ...
UNSUPPORTED: gdb.ada/catch_ex.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/catch_ex.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/char_enum.exp ...
UNSUPPORTED: gdb.ada/char_enum.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/char_enum.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/char_param.exp ...
UNSUPPORTED: gdb.ada/char_param.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/char_param.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/complete.exp ...
UNSUPPORTED: gdb.ada/complete.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/complete.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/cond_lang.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/cond_lang/cond_lang/foo.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/cond_lang/foo.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/cond_lang/cond_lang/foo.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/cond_lang/foo.c
UNSUPPORTED: gdb.ada/cond_lang.exp: compilation a.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/cond_lang.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/disc_arr_bound.exp ...
UNSUPPORTED: gdb.ada/disc_arr_bound.exp: compilation foo_n612_026.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/disc_arr_bound.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/dot_all.exp ...
UNSUPPORTED: gdb.ada/dot_all.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/dot_all.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/dyn_arrayidx.exp ...
UNSUPPORTED: gdb.ada/dyn_arrayidx.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/dyn_arrayidx.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/dyn_loc.exp ...
UNSUPPORTED: gdb.ada/dyn_loc.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/dyn_loc.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/enum_idx_packed.exp ...
UNSUPPORTED: gdb.ada/enum_idx_packed.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/enum_idx_packed.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/exec_changed.exp ...
UNSUPPORTED: gdb.ada/exec_changed.exp: compilation first.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/exec_changed.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/expr_delims.exp ...
UNSUPPORTED: gdb.ada/expr_delims.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/expr_delims.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/exprs.exp ...
UNSUPPORTED: gdb.ada/exprs.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/exprs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fin_fun_out.exp ...
UNSUPPORTED: gdb.ada/fin_fun_out.exp: compilation foo_o525_013.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fin_fun_out.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fixed_cmp.exp ...
UNSUPPORTED: gdb.ada/fixed_cmp.exp: compilation fixed.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fixed_cmp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fixed_points.exp ...
UNSUPPORTED: gdb.ada/fixed_points.exp: compilation fixed_points.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fixed_points.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/float_param.exp ...
UNSUPPORTED: gdb.ada/float_param.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/float_param.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/formatted_ref.exp ...
UNSUPPORTED: gdb.ada/formatted_ref.exp: compilation formatted_ref.adb
UNTESTED: gdb.ada/formatted_ref.exp: formatted-ref.exp
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/formatted_ref.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/frame_args.exp ...
UNSUPPORTED: gdb.ada/frame_args.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/frame_args.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fullname_bp.exp ...
UNSUPPORTED: gdb.ada/fullname_bp.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fullname_bp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fun_addr.exp ...
UNSUPPORTED: gdb.ada/fun_addr.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fun_addr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fun_in_declare.exp ...
UNSUPPORTED: gdb.ada/fun_in_declare.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fun_in_declare.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fun_overload_menu.exp ...
UNSUPPORTED: gdb.ada/fun_overload_menu.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fun_overload_menu.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fun_renaming.exp ...
UNSUPPORTED: gdb.ada/fun_renaming.exp: compilation fun_renaming.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/fun_renaming.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/funcall_char.exp ...
UNSUPPORTED: gdb.ada/funcall_char.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/funcall_char.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/funcall_param.exp ...
UNSUPPORTED: gdb.ada/funcall_param.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/funcall_param.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/funcall_ref.exp ...
UNSUPPORTED: gdb.ada/funcall_ref.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/funcall_ref.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/homonym.exp ...
UNSUPPORTED: gdb.ada/homonym.exp: compilation homonym_main.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/homonym.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/info_exc.exp ...
UNSUPPORTED: gdb.ada/info_exc.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/info_exc.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/info_locals_renaming.exp ...
UNSUPPORTED: gdb.ada/info_locals_renaming.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/info_locals_renaming.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/info_types.exp ...
get_compiler_info: gcc-5-3-0
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/info_types/info_types0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/info_types.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/info_types/info_types0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/info_types.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/info_types/info_types0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/info_types/info_types (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/info_types/info_types0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/info_types/info_types
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/info_types/info_types
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/info_types/info_types...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a44 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a6c
Loading section .rodata, size 0x6 lma 0x3a88
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137264 bits in <1 sec.
(gdb) set lang ada
(gdb) PASS: gdb.ada/info_types.exp: set lang ada
info types new_integer_type
All types matching regular expression "new_integer_type":
File /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/info_types.c:
int
(gdb) PASS: gdb.ada/info_types.exp: info types new_integer_type
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/info_types.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/int_deref.exp ...
UNSUPPORTED: gdb.ada/int_deref.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/int_deref.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/interface.exp ...
UNSUPPORTED: gdb.ada/interface.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/interface.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/iwide.exp ...
UNSUPPORTED: gdb.ada/iwide.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/iwide.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/lang_switch.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/lang_switch/lang_switch/foo.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/lang_switch/foo.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.ada/lang_switch/lang_switch/foo.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/lang_switch/foo.c
UNSUPPORTED: gdb.ada/lang_switch.exp: compilation lang_switch.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/lang_switch.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_catch_ex.exp ...
UNSUPPORTED: gdb.ada/mi_catch_ex.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_catch_ex.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_dyn_arr.exp ...
UNSUPPORTED: gdb.ada/mi_dyn_arr.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_dyn_arr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_ex_cond.exp ...
UNSUPPORTED: gdb.ada/mi_ex_cond.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_ex_cond.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_exc_info.exp ...
UNSUPPORTED: gdb.ada/mi_exc_info.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_exc_info.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_interface.exp ...
UNSUPPORTED: gdb.ada/mi_interface.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_interface.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_task_arg.exp ...
UNSUPPORTED: gdb.ada/mi_task_arg.exp: compilation task_switch.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_task_arg.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_task_info.exp ...
UNSUPPORTED: gdb.ada/mi_task_info.exp: compilation task_switch.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_task_info.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_var_array.exp ...
UNSUPPORTED: gdb.ada/mi_var_array.exp: compilation bar.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mi_var_array.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mod_from_name.exp ...
UNSUPPORTED: gdb.ada/mod_from_name.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/mod_from_name.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/n_arr_bound.exp ...
UNSUPPORTED: gdb.ada/n_arr_bound.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/n_arr_bound.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/nested.exp ...
UNSUPPORTED: gdb.ada/nested.exp: compilation hello.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/nested.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/null_array.exp ...
UNSUPPORTED: gdb.ada/null_array.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/null_array.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/null_record.exp ...
UNSUPPORTED: gdb.ada/null_record.exp: compilation null_record.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/null_record.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/operator_bp.exp ...
UNSUPPORTED: gdb.ada/operator_bp.exp: compilation ops_test.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/operator_bp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/optim_drec.exp ...
UNSUPPORTED: gdb.ada/optim_drec.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/optim_drec.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp ...
UNSUPPORTED: gdb.ada/out_of_line_in_inlined.exp: compilation foo_o224_021.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/packed_array.exp ...
UNSUPPORTED: gdb.ada/packed_array.exp: compilation pa.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/packed_array.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/packed_tagged.exp ...
UNSUPPORTED: gdb.ada/packed_tagged.exp: compilation comp_bug.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/packed_tagged.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/pckd_arr_ren.exp ...
UNSUPPORTED: gdb.ada/pckd_arr_ren.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/pckd_arr_ren.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/pckd_neg.exp ...
UNSUPPORTED: gdb.ada/pckd_neg.exp: compilation foo_o508_021.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/pckd_neg.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/pkd_arr_elem.exp ...
UNSUPPORTED: gdb.ada/pkd_arr_elem.exp: compilation failure.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/pkd_arr_elem.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/pp-rec-component.exp ...
UNSUPPORTED: gdb.ada/pp-rec-component.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/pp-rec-component.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/print_chars.exp ...
UNSUPPORTED: gdb.ada/print_chars.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/print_chars.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/print_pc.exp ...
UNSUPPORTED: gdb.ada/print_pc.exp: compilation dummy.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/print_pc.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ptr_typedef.exp ...
UNSUPPORTED: gdb.ada/ptr_typedef.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ptr_typedef.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ptype_arith_binop.exp ...
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada:$cdir:$cwd
(gdb) set lang ada
(gdb) PASS: gdb.ada/ptype_arith_binop.exp: set lang ada
ptype 3 * 2.0
type = <8-byte float>
(gdb) PASS: gdb.ada/ptype_arith_binop.exp: ptype 3 * 2.0
ptype 3 / 2.0
type = <8-byte float>
(gdb) PASS: gdb.ada/ptype_arith_binop.exp: ptype 3 / 2.0
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ptype_arith_binop.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ptype_field.exp ...
UNSUPPORTED: gdb.ada/ptype_field.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ptype_field.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ptype_tagged_param.exp ...
UNSUPPORTED: gdb.ada/ptype_tagged_param.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ptype_tagged_param.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/py_range.exp ...
UNSUPPORTED: gdb.ada/py_range.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/py_range.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/rdv_wait.exp ...
UNSUPPORTED: gdb.ada/rdv_wait.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/rdv_wait.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/rec_comp.exp ...
UNSUPPORTED: gdb.ada/rec_comp.exp: compilation bar_o203_012.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/rec_comp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/rec_return.exp ...
UNSUPPORTED: gdb.ada/rec_return.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/rec_return.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ref_param.exp ...
UNSUPPORTED: gdb.ada/ref_param.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ref_param.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ref_tick_size.exp ...
UNSUPPORTED: gdb.ada/ref_tick_size.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/ref_tick_size.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/same_enum.exp ...
UNSUPPORTED: gdb.ada/same_enum.exp: compilation a.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/same_enum.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/set_pckd_arr_elt.exp ...
UNSUPPORTED: gdb.ada/set_pckd_arr_elt.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/set_pckd_arr_elt.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/set_wstr.exp ...
UNSUPPORTED: gdb.ada/set_wstr.exp: compilation a.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/set_wstr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/small_reg_param.exp ...
UNSUPPORTED: gdb.ada/small_reg_param.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/small_reg_param.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/start.exp ...
UNSUPPORTED: gdb.ada/start.exp: compilation dummy.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/start.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/str_ref_cmp.exp ...
UNSUPPORTED: gdb.ada/str_ref_cmp.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/str_ref_cmp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/str_uninit.exp ...
UNSUPPORTED: gdb.ada/str_uninit.exp: compilation parse.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/str_uninit.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/sym_print_name.exp ...
UNSUPPORTED: gdb.ada/sym_print_name.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/sym_print_name.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/taft_type.exp ...
UNSUPPORTED: gdb.ada/taft_type.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/taft_type.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tagged.exp ...
UNSUPPORTED: gdb.ada/tagged.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tagged.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tagged_access.exp ...
UNSUPPORTED: gdb.ada/tagged_access.exp: compilation p.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tagged_access.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tagged_not_init.exp ...
UNSUPPORTED: gdb.ada/tagged_not_init.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tagged_not_init.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/task_bp.exp ...
UNSUPPORTED: gdb.ada/task_bp.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/task_bp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tasks.exp ...
UNSUPPORTED: gdb.ada/tasks.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tasks.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tick_last_segv.exp ...
UNSUPPORTED: gdb.ada/tick_last_segv.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tick_last_segv.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tick_length_array_enum_idx.exp ...
UNSUPPORTED: gdb.ada/tick_length_array_enum_idx.exp: compilation foo_n207_004.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/tick_length_array_enum_idx.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/type_coercion.exp ...
UNSUPPORTED: gdb.ada/type_coercion.exp: compilation assign.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/type_coercion.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec.exp ...
UNSUPPORTED: gdb.ada/unc_arr_ptr_in_var_rec.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/uninitialized_vars.exp ...
UNSUPPORTED: gdb.ada/uninitialized_vars.exp: compilation parse.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/uninitialized_vars.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/var_arr_attrs.exp ...
UNSUPPORTED: gdb.ada/var_arr_attrs.exp: compilation foo_o115_002.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/var_arr_attrs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/var_arr_typedef.exp ...
UNSUPPORTED: gdb.ada/var_arr_typedef.exp: compilation var_arr_typedef.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/var_arr_typedef.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/var_rec_arr.exp ...
UNSUPPORTED: gdb.ada/var_rec_arr.exp: compilation foo_na09_042.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/var_rec_arr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/variant_record_packed_array.exp ...
UNSUPPORTED: gdb.ada/variant_record_packed_array.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/variant_record_packed_array.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/watch_arg.exp ...
UNSUPPORTED: gdb.ada/watch_arg.exp: compilation watch.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/watch_arg.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/whatis_array_val.exp ...
UNSUPPORTED: gdb.ada/whatis_array_val.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/whatis_array_val.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/widewide.exp ...
UNSUPPORTED: gdb.ada/widewide.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/widewide.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/win_fu_syms.exp ...
UNSUPPORTED: gdb.ada/win_fu_syms.exp: compilation foo.adb
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.ada/win_fu_syms.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/aarch64-atomic-inst.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/aarch64-atomic-inst.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/aarch64-fp.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/aarch64-fp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/alpha-step.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/alpha-step.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/altivec-abi.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/altivec-abi.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/altivec-regs.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/altivec-regs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-byte.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-byte.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-disp-step.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-disp-step.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-dword.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-dword.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-entry-value-param.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-entry-value-param.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-entry-value-paramref.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-entry-value-paramref.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-entry-value.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-entry-value.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-i386-address.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-i386-address.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-invalid-stack-top.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-invalid-stack-top.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-optimout-repeat.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-optimout-repeat.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-prologue-skip.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-prologue-skip.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-stap-optional-prefix.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-stap-optional-prefix.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-stap-special-operands.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-stap-special-operands.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-stap-wrong-subexp.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-stap-wrong-subexp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-tailcall-cxx.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-tailcall-cxx.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-tailcall-noret.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-tailcall-noret.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-tailcall-ret.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-tailcall-ret.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-tailcall-self.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-tailcall-self.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-word.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/amd64-word.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/arm-disp-step.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/arm-disp-step.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/arm-neon.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/arm-neon.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/arm-single-step-kernel-helper.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/arm-single-step-kernel-helper.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/avr-flash-qualifier.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/avr-flash-qualifier.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/disp-step-insn-reloc.exp ...
UNSUPPORTED: gdb.arch/disp-step-insn-reloc.exp: displaced stepping
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/disp-step-insn-reloc.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/e500-abi.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/e500-abi.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/e500-prologue.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/e500-prologue.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/e500-regs.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/e500-regs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/main14348.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/main14348.x (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/main14348.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/main14348.x
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.arch/ftrace-insn-reloc/ftrace-insn-reloc0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/insn-reloc.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.arch/ftrace-insn-reloc/ftrace-insn-reloc0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/insn-reloc.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.arch/ftrace-insn-reloc/ftrace-insn-reloc0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.arch/ftrace-insn-reloc/ftrace-insn-reloc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.arch/ftrace-insn-reloc/ftrace-insn-reloc0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.arch/ftrace-insn-reloc/ftrace-insn-reloc
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.arch/ftrace-insn-reloc/ftrace-insn-reloc
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.arch/ftrace-insn-reloc/ftrace-insn-reloc...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a98 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ac0
Loading section .rodata, size 0x6 lma 0x3adc
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137936 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/insn-reloc.c, line 546.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a98 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ac0
Loading section .rodata, size 0x6 lma 0x3adc
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137936 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.arch/ftrace-insn-reloc/ftrace-insn-reloc
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/insn-reloc.c:546
546 int i = 0;
(gdb) tstatus
Trace can not be run on this target.
(gdb) UNSUPPORTED: gdb.arch/ftrace-insn-reloc.exp: target does not support trace
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/gdb1291.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/gdb1291.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/gdb1431.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/gdb1431.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/gdb1558.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/gdb1558.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-avx.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-avx.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-avx512.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-avx512.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-biarch-core.exp ...
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch:$cdir:$cwd
(gdb) complete set gnutarget
set gnutarget auto
set gnutarget binary
set gnutarget elf32-big
set gnutarget elf32-little
set gnutarget elf32-or1k
set gnutarget ihex
set gnutarget plugin
set gnutarget srec
set gnutarget symbolsrec
set gnutarget tekhex
set gnutarget verilog
(gdb) PASS: gdb.arch/i386-biarch-core.exp: complete set gnutarget
UNTESTED: gdb.arch/i386-biarch-core.exp: .text is readable
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-biarch-core.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-bp_permanent.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-bp_permanent.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-byte.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-byte.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-cfi-notcurrent.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-cfi-notcurrent.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-disp-step.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-disp-step.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-dr3-watch.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-dr3-watch.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-float.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-float.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-mpx-map.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-mpx-map.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-mpx.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-mpx.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-permbkpt.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-permbkpt.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-prologue.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-prologue.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-signal.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-signal.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-size-overlap.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-size-overlap.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-size.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-size.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-sse-stack-align.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-sse-stack-align.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-sse.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-sse.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-stap-eval-lang-ada.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-stap-eval-lang-ada.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-unwind.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-unwind.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-word.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/i386-word.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/iwmmxt-regs.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/iwmmxt-regs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/mips-octeon-bbit.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/mips-octeon-bbit.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/mips16-thunks.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/mips16-thunks.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/pa-nullify.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/pa-nullify.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-d128-regs.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-d128-regs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-power.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-power.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-prologue.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-prologue.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-stackless.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/powerpc-stackless.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ppc-dfp.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ppc-dfp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ppc-fp.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ppc-fp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ppc64-symtab-cordic.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/ppc64-symtab-cordic.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/s390-multiarch.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/s390-multiarch.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/s390-stackless.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/s390-stackless.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/s390-tdbregs.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/s390-tdbregs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/s390-vregs.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/s390-vregs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/sparc-sysstep.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/sparc-sysstep.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/spu-info.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/spu-info.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/spu-ls.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/spu-ls.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/thumb-bx-pc.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/thumb-bx-pc.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/thumb-prologue.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/thumb-prologue.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/thumb-singlestep.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/thumb-singlestep.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/thumb2-it.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/thumb2-it.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/vsx-regs.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.arch/vsx-regs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.asm/asm-source.exp ...
UNTESTED: gdb.asm/asm-source.exp: asm-source.exp
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.asm/asm-source.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/a2-run.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/a2-run.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/advance.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/advance/advance0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/advance.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/advance/advance0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/advance.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/advance/advance0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/advance/advance (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/advance/advance0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/advance/advance
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/advance/advance
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/advance/advance...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1b84 lma 0x2028
Loading section .fini, size 0x1c lma 0x3bac
Loading section .rodata, size 0x6 lma 0x3bc8
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 139824 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x24e8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/advance.c, line 41.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1b84 lma 0x2028
Loading section .fini, size 0x1c lma 0x3bac
Loading section .rodata, size 0x6 lma 0x3bc8
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 139824 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/advance/advance
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/advance.c:41
41 c = 5;
(gdb) advance 42
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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
malformed linespec error: unexpected string, "then stop"
(gdb) PASS: gdb.base/advance.exp: malformed advance
advance func
func () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/advance.c:23
23 x = x + 5;
(gdb) PASS: gdb.base/advance.exp: advance func
advance func3
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x250c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/advance.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/alias.exp ...
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) alias -a set2=set
(gdb) PASS: gdb.base/alias.exp: alias -a set2=set
set2 print elements 42
(gdb) PASS: gdb.base/alias.exp: set2 print elements 42
show print elements
Limit on string chars or array elements to print is 42.
(gdb) PASS: gdb.base/alias.exp: verify set2
help aliases
Aliases of other commands.
List of commands:
ni -- Step one instruction
rc -- Continue program being debugged but run it in reverse
rni -- Step backward one instruction
rsi -- Step backward exactly one instruction
si -- Step one instruction exactly
stepping -- Specify single-stepping behavior at a tracepoint
tp -- Set a tracepoint at specified location
tty -- Set terminal for future runs of program being debugged
where -- Print backtrace of all stack frames
ws -- Specify single-stepping behavior at a tracepoint
Type "help" followed by command name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.
(gdb) PASS: gdb.base/alias.exp: abbrev set2 not present in help command list
alias -a set3= set
(gdb) PASS: gdb.base/alias.exp: alias -a set3= set
set3 print elements 43
(gdb) PASS: gdb.base/alias.exp: set3 print elements 43
show print elements
Limit on string chars or array elements to print is 43.
(gdb) PASS: gdb.base/alias.exp: verify set3
help aliases
Aliases of other commands.
List of commands:
ni -- Step one instruction
rc -- Continue program being debugged but run it in reverse
rni -- Step backward one instruction
rsi -- Step backward exactly one instruction
si -- Step one instruction exactly
stepping -- Specify single-stepping behavior at a tracepoint
tp -- Set a tracepoint at specified location
tty -- Set terminal for future runs of program being debugged
where -- Print backtrace of all stack frames
ws -- Specify single-stepping behavior at a tracepoint
Type "help" followed by command name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.
(gdb) PASS: gdb.base/alias.exp: abbrev set3 not present in help command list
alias -a set4 =set
(gdb) PASS: gdb.base/alias.exp: alias -a set4 =set
set4 print elements 44
(gdb) PASS: gdb.base/alias.exp: set4 print elements 44
show print elements
Limit on string chars or array elements to print is 44.
(gdb) PASS: gdb.base/alias.exp: verify set4
help aliases
Aliases of other commands.
List of commands:
ni -- Step one instruction
rc -- Continue program being debugged but run it in reverse
rni -- Step backward one instruction
rsi -- Step backward exactly one instruction
si -- Step one instruction exactly
stepping -- Specify single-stepping behavior at a tracepoint
tp -- Set a tracepoint at specified location
tty -- Set terminal for future runs of program being debugged
where -- Print backtrace of all stack frames
ws -- Specify single-stepping behavior at a tracepoint
Type "help" followed by command name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.
(gdb) PASS: gdb.base/alias.exp: abbrev set4 not present in help command list
alias -a set5 = set
(gdb) PASS: gdb.base/alias.exp: alias -a set5 = set
set5 print elements 45
(gdb) PASS: gdb.base/alias.exp: set5 print elements 45
show print elements
Limit on string chars or array elements to print is 45.
(gdb) PASS: gdb.base/alias.exp: verify set5
help aliases
Aliases of other commands.
List of commands:
ni -- Step one instruction
rc -- Continue program being debugged but run it in reverse
rni -- Step backward one instruction
rsi -- Step backward exactly one instruction
si -- Step one instruction exactly
stepping -- Specify single-stepping behavior at a tracepoint
tp -- Set a tracepoint at specified location
tty -- Set terminal for future runs of program being debugged
where -- Print backtrace of all stack frames
ws -- Specify single-stepping behavior at a tracepoint
Type "help" followed by command name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.
(gdb) PASS: gdb.base/alias.exp: abbrev set5 not present in help command list
alias -a -- set6 = set
(gdb) PASS: gdb.base/alias.exp: alias -a -- set6 = set
set6 print elements 46
(gdb) PASS: gdb.base/alias.exp: set6 print elements 46
show print elements
Limit on string chars or array elements to print is 46.
(gdb) PASS: gdb.base/alias.exp: verify set6
help aliases
Aliases of other commands.
List of commands:
ni -- Step one instruction
rc -- Continue program being debugged but run it in reverse
rni -- Step backward one instruction
rsi -- Step backward exactly one instruction
si -- Step one instruction exactly
stepping -- Specify single-stepping behavior at a tracepoint
tp -- Set a tracepoint at specified location
tty -- Set terminal for future runs of program being debugged
where -- Print backtrace of all stack frames
ws -- Specify single-stepping behavior at a tracepoint
Type "help" followed by command name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.
(gdb) PASS: gdb.base/alias.exp: abbrev set6 not present in help command list
alias -a -- -a = set
(gdb) PASS: gdb.base/alias.exp: alias -a -- -a = set
-a print elements 47
(gdb) PASS: gdb.base/alias.exp: -a print elements 47
show print elements
Limit on string chars or array elements to print is 47.
(gdb) PASS: gdb.base/alias.exp: verify -a
help aliases
Aliases of other commands.
List of commands:
ni -- Step one instruction
rc -- Continue program being debugged but run it in reverse
rni -- Step backward one instruction
rsi -- Step backward exactly one instruction
si -- Step one instruction exactly
stepping -- Specify single-stepping behavior at a tracepoint
tp -- Set a tracepoint at specified location
tty -- Set terminal for future runs of program being debugged
where -- Print backtrace of all stack frames
ws -- Specify single-stepping behavior at a tracepoint
Type "help" followed by command name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.
(gdb) PASS: gdb.base/alias.exp: abbrev -a not present in help command list
alias set2=set
Alias already exists: set2
(gdb) PASS: gdb.base/alias.exp: alias set2=set
alias foo=bar
Invalid command to alias to: bar
(gdb) PASS: gdb.base/alias.exp: alias foo=bar
alias spe = set p elem
(gdb) PASS: gdb.base/alias.exp: alias spe = set p elem
spe 50
(gdb) PASS: gdb.base/alias.exp: spe 50
show print elements
Limit on string chars or array elements to print is 50.
(gdb) PASS: gdb.base/alias.exp: verify spe
alias set pr elms = set p elem
(gdb) PASS: gdb.base/alias.exp: alias set pr elms = set p elem
set pr elms 51
(gdb) PASS: gdb.base/alias.exp: set pr elms 51
show print elements
Limit on string chars or array elements to print is 51.
(gdb) PASS: gdb.base/alias.exp: verify set pr elms
help set print
Generic command for setting how things print.
List of set print subcommands:
set print address -- Set printing of addresses
set print array -- Set pretty formatting of arrays
set print array-indexes -- Set printing of array indexes
set print asm-demangle -- Set demangling of C++/ObjC names in disassembly listings
set print demangle -- Set demangling of encoded C++/ObjC names when displaying symbols
set print elements -- Set limit on string chars or array elements to print
set print elms -- Set limit on string chars or array elements to print
set print entry-values -- Set printing of function arguments at function entry
set print frame-arguments -- Set printing of non-scalar frame arguments
set print inferior-events -- Set printing of inferior events (e.g.
set print max-symbolic-offset -- Set the largest offset that will be printed in <symbol+1234> form
set print null-stop -- Set printing of char arrays to stop at first null char
set print object -- Set printing of object's derived type based on vtable info
set print pascal_static-members -- Set printing of pascal static members
set print pretty -- Set pretty formatting of structures
set print raw -- Generic command for setting what things to print in "raw" mode
set print repeats -- Set threshold for repeated print elements
set print sevenbit-strings -- Set printing of 8-bit characters in strings as \nnn
set print static-members -- Set printing of C++ static members
set print symbol -- Set printing of symbol names when printing pointers
set print symbol-filename -- Set printing of source filename and line number with <symbol>
set print symbol-loading -- Set printing of symbol loading messages
set print thread-events -- Set printing of thread events (such as thread start and exit)
set print type -- Generic command for setting how types print
set print union -- Set printing of unions interior to structures
set print vtbl -- Set printing of C++ virtual function tables
Type "help set print" followed by set print subcommand name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.
(gdb) PASS: gdb.base/alias.exp: help set print
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/alias.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-bin.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/all-bin/all-bin0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-types.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/all-bin/all-bin0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-types.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/all-bin/all-bin0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/all-bin/all-bin (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/all-bin/all-bin0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/all-bin/all-bin
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/all-bin/all-bin
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/all-bin/all-bin...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1b18 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b40
Loading section .rodata, size 0x12 lma 0x3b5c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 139056 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23ac: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-types.c, line 31.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1b18 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b40
Loading section .rodata, size 0x12 lma 0x3b5c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 139056 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/all-bin/all-bin
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-types.c:31
31 dummy();
(gdb) next
32 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.343437
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-bin.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/annota-input-while-running.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/annota-input-while-running.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/annota1.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/annota1.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/annota3.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/annota3.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/anon.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/anon/anon0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/anon.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/anon/anon0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/anon.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/anon/anon0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/anon/anon (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/anon/anon0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/anon/anon
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/anon/anon
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/anon/anon...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a28 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a50
Loading section .rodata, size 0x6 lma 0x3a6c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137040 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23ac: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/anon.c, line 28.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a28 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a50
Loading section .rodata, size 0x6 lma 0x3a6c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/anon/anon
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/anon.c:28
28 memset (&val, 0, sizeof (val));
(gdb) break 31
Breakpoint 2 at 0x23dc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/anon.c, line 31.
(gdb) PASS: gdb.base/anon.exp: set breakpoint in anon.c
continue
Continuing.
Breakpoint 2, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/anon.c:31
31 return 0; /* break here */
(gdb) PASS: gdb.base/anon.exp: continue to breakpoint: continue to breakpoint in anon.c
print val.data.six
$1 = 6
(gdb) PASS: gdb.base/anon.exp: print val.data.six
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/anon.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/args.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/args.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/argv0-symlink.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/has_argv014348.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/has_argv014348.x (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/has_argv014348.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/has_argv014348.x
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/has_argv014348.x
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/has_argv014348.x...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a20
Loading section .rodata, size 0x6 lma 0x3a3c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136656 bits in <1 sec.
(gdb) break main
Breakpoint 1 at 0x23b0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/has_argv014348.c, line 3.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a20
Loading section .rodata, size 0x6 lma 0x3a3c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136656 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/has_argv014348.x
Breakpoint 1, main (argc=0, argv=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/has_argv014348.c:3
3 return 0;
(gdb) show print elements
Limit on string chars or array elements to print is 200.
(gdb) show print repeats
Threshold for repeated print elements is 10.
(gdb) set print elements unlimited
(gdb) set print repeats unlimited
(gdb) p argc
$1 = 0
(gdb) set print elements 200
(gdb) set print repeats 10
(gdb) Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/argv0-symlink.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/argv0-symlink.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink
Executing on host: ln -sf argv0-symlink /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-filelink (timeout = 300)
spawn -ignore SIGHUP ln -sf argv0-symlink /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-filelink
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-filelink
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-filelink...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a20
Loading section .rodata, size 0x6 lma 0x3a3c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136656 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23b0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/argv0-symlink.c, line 21.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a20
Loading section .rodata, size 0x6 lma 0x3a3c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136656 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-filelink
Breakpoint 1, main (argc=0, argv=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/argv0-symlink.c:21
21 return 0;
(gdb) set print repeats 10000
(gdb) PASS: gdb.base/argv0-symlink.exp: set print repeats 10000
set print elements 10000
(gdb) PASS: gdb.base/argv0-symlink.exp: set print elements 10000
UNSUPPORTED: gdb.base/argv0-symlink.exp: kept file symbolic link name
info inferiors
Num Description Executable
* 1 process 42000 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-filelink
(gdb) PASS: gdb.base/argv0-symlink.exp: kept file symbolic link name for info inferiors
Executing on host: rm -f /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-dirlink (timeout = 300)
spawn -ignore SIGHUP rm -f /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-dirlink
Executing on host: ln -sf . /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-dirlink (timeout = 300)
spawn -ignore SIGHUP ln -sf . /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-dirlink
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-dirlink/argv0-symlink-filelink
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-dirlink/argv0-symlink-filelink...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a20
Loading section .rodata, size 0x6 lma 0x3a3c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136656 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23b0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/argv0-symlink.c, line 21.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a20
Loading section .rodata, size 0x6 lma 0x3a3c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136656 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-filelink
Breakpoint 1, main (argc=0, argv=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/argv0-symlink.c:21
21 return 0;
(gdb) set print repeats 10000
(gdb) PASS: gdb.base/argv0-symlink.exp: set print repeats 10000
set print elements 10000
(gdb) PASS: gdb.base/argv0-symlink.exp: set print elements 10000
UNSUPPORTED: gdb.base/argv0-symlink.exp: kept directory symbolic link name
info inferiors
Num Description Executable
* 1 process 42000 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/argv0-symlink/argv0-symlink-filelink
(gdb) PASS: gdb.base/argv0-symlink.exp: kept directory symbolic link name for info inferiors
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/argv0-symlink.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/arithmet.exp ...
Executing on host: or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arithmet/arithmet0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/int-type.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arithmet/arithmet0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/int-type.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arithmet/arithmet0.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arithmet/arithmet (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arithmet/arithmet0.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arithmet/arithmet
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arithmet/arithmet
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arithmet/arithmet...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a30 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a58
Loading section .rodata, size 0x6 lma 0x3a74
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137104 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/int-type.c, line 12.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a30 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a58
Loading section .rodata, size 0x6 lma 0x3a74
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137104 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arithmet/arithmet
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/int-type.c:12
12 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/arithmet.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/arrayidx.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/arrayidx.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arrayidx/arrayidx (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/arrayidx.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arrayidx/arrayidx
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arrayidx/arrayidx
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arrayidx/arrayidx...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a00 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a28
Loading section .rodata, size 0x6 lma 0x3a44
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x870 lma 0x4018
Start address 0x100
Transfer rate: 136848 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/arrayidx.c, line 23.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a00 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a28
Loading section .rodata, size 0x6 lma 0x3a44
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x870 lma 0x4018
Start address 0x100
Transfer rate: 136848 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/arrayidx/arrayidx
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/arrayidx.c:23
23 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/arrayidx.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/asmlabel/asmlabel0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/asmlabel/asmlabel0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/asmlabel/asmlabel0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/asmlabel/asmlabel (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/asmlabel/asmlabel0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/asmlabel/asmlabel
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/asmlabel/asmlabel
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/asmlabel/asmlabel...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a28 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a50
Loading section .rodata, size 0x6 lma 0x3a6c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 137072 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23b0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.c, line 24.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a28 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a50
Loading section .rodata, size 0x6 lma 0x3a6c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 137072 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/asmlabel/asmlabel
Breakpoint 1, main (argc=0, argv=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.c:24
24 v = 0;
(gdb) break asmlabel.c:26
Breakpoint 2 at 0x23c0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.c, line 26.
(gdb) PASS: gdb.base/asmlabel.exp: breakpoint at L1
break 28
Breakpoint 3 at 0x23d0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.c, line 28.
(gdb) PASS: gdb.base/asmlabel.exp: breakpoint at L2
continue
Continuing.
Breakpoint 2, main (argc=0, argv=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.c:26
26 v = 1; /* set L1 breakpoint here */
(gdb) PASS: gdb.base/asmlabel.exp: continue to L1
continue
Continuing.
Breakpoint 3, main (argc=0, argv=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.c:28
28 v = 2; /* set L2 breakpoint here */
(gdb) PASS: gdb.base/asmlabel.exp: continue to L2
print v
$1 = 1
(gdb) PASS: gdb.base/asmlabel.exp: check value of v at L2
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/asmlabel.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/assign.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-types.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/assign/assign (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-types.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/assign/assign
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/assign/assign
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/assign/assign...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1b18 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b40
Loading section .rodata, size 0x12 lma 0x3b5c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 139056 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23ac: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-types.c, line 31.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1b18 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b40
Loading section .rodata, size 0x12 lma 0x3b5c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 139056 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/assign/assign
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/all-types.c:31
31 dummy();
(gdb) next
32 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 (2)
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 (3)
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 (4)
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 (5)
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 (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 (7)
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 (8)
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 (9)
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 (10)
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 (11)
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 (12)
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 (13)
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 (14)
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 (15)
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 (16)
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 (17)
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 (18)
print v_int+=v_double
$37 = 206
(gdb) print v_int
$38 = 206
(gdb) PASS: gdb.base/assign.exp: v_int+=double
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/assign.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/async-shell.exp ...
UNSUPPORTED: gdb.base/async-shell.exp: displaced stepping
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/async-shell.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/async.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/async/async0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/async.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/async/async0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/async.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/async/async0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/async/async (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/async/async0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/async/async
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/async/async
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/async/async...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1aa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3acc
Loading section .rodata, size 0x6 lma 0x3ae8
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 138032 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x241c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/async.c, line 26.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1aa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3acc
Loading section .rodata, size 0x6 lma 0x3ae8
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 138032 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/async/async
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/async.c:26
26 y = 2;
(gdb) break baz
Breakpoint 2 at 0x23f4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/async.c, line 18.
(gdb) set exec-done-display on
(gdb) PASS: gdb.base/async.exp: set exec-done-display on
next&
Asynchronous execution not supported on this target.
(gdb) UNSUPPORTED: gdb.base/async.exp: Asynchronous execution not supported: next&
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/async.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-pie-misread.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-pie-misread.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-pie-noexec.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-pie-noexec.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-twice.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-twice.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-wait-input.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/attach-wait-input/attach-wait-input0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-wait-input.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/attach-wait-input/attach-wait-input0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-wait-input.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/attach-wait-input/attach-wait-input0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/attach-wait-input/attach-wait-input (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/attach-wait-input/attach-wait-input0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/attach-wait-input/attach-wait-input
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/attach-wait-input/attach-wait-input0.o: In function `main':
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-wait-input.c:38: undefined reference to `sleep'
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/attach-wait-input/attach-wait-input0.o: In function `main':
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-wait-input.c:38: undefined reference to `sleep'
collect2: error: ld returned 1 exit status
gdb compile failed, /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/attach-wait-input/attach-wait-input0.o: In function `main':
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-wait-input.c:38: undefined reference to `sleep'
collect2: error: ld returned 1 exit status
UNTESTED: gdb.base/attach-wait-input.exp: failed to build
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach-wait-input.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/attach.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-connect-native-target.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-connect-native-target/auto-connect-native-target0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-connect-native-target.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-connect-native-target/auto-connect-native-target0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-connect-native-target.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-connect-native-target/auto-connect-native-target0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-connect-native-target/auto-connect-native-target (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-connect-native-target/auto-connect-native-target0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-connect-native-target/auto-connect-native-target
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-connect-native-target/auto-connect-native-target
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-connect-native-target/auto-connect-native-target...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0x6 lma 0x3a34
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136592 bits in <1 sec.
(gdb) help target native
Undefined target command: "native". Try "help target".
(gdb) UNSUPPORTED: gdb.base/auto-connect-native-target.exp: No "target native" support.
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-connect-native-target.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-load.exp ...
Executing on host: rm -rf /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load.dir (timeout = 300)
spawn -ignore SIGHUP rm -rf /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load.dir
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-load.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-load.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0x6 lma 0x3a34
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136592 bits in <1 sec.
(gdb) Executing on host: mkdir -p /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load.dir//home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load (timeout = 300)
spawn -ignore SIGHUP mkdir -p /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load.dir//home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load
Executing on host: cp /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-load-script /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load.dir//home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load-gdb.gdb (timeout = 300)
spawn -ignore SIGHUP cp /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-load-script /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load.dir//home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load-gdb.gdb
set auto-load scripts-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load.dir
(gdb) PASS: gdb.base/auto-load.exp: set auto-load scripts-directory
set auto-load safe-path /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load.dir//home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load-gdb.gdb
(gdb) PASS: gdb.base/auto-load.exp: set auto-load safe-path
kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load
Load new symbol table from "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load"? (y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/auto-load/auto-load...done.
script_loaded
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0x6 lma 0x3a34
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136592 bits in <1 sec.
(gdb) print $script_loaded
$1 = 42
(gdb) PASS: gdb.base/auto-load.exp: print $script_loaded
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auto-load.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auxv.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/auxv.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bang.exp ...
Executing on host: or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bang/bang!0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/args.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bang/bang!0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/args.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bang/bang!0.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bang/bang! (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bang/bang!0.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bang/bang!
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bang/bang!
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bang/bang!...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xf8e0 lma 0x2028
Loading section .fini, size 0x1c lma 0x11908
Loading section .rodata, size 0x680 lma 0x11924
Loading section .eh_frame, size 0x4 lma 0x12000
Loading section .ctors, size 0x8 lma 0x12004
Loading section .dtors, size 0x8 lma 0x1200c
Loading section .jcr, size 0x4 lma 0x12014
Loading section .data, size 0xcf4 lma 0x12018
Start address 0x100
Transfer rate: 615808 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23b4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/args.c, line 6.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xf8e0 lma 0x2028
Loading section .fini, size 0x1c lma 0x11908
Loading section .rodata, size 0x680 lma 0x11924
Loading section .eh_frame, size 0x4 lma 0x12000
Loading section .ctors, size 0x8 lma 0x12004
Loading section .dtors, size 0x8 lma 0x1200c
Loading section .jcr, size 0x4 lma 0x12014
Loading section .data, size 0xcf4 lma 0x12018
Start address 0x100
Transfer rate: 615808 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bang/bang!
Breakpoint 1, main (argc=0, argv=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/args.c:6
6 int i = 0;
(gdb) continue
Continuing.
0
[Inferior 1 (process 42000) exited normally]
(gdb) PASS: gdb.base/bang.exp: continue until exit
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bang.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/batch-preserve-term-settings.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/batch-preserve-term-settings.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings
spawn /bin/sh
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: batch run: spawn shell
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: batch run: stty before
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc
/build-gdb/gdb/testsuite/../data-directory -batch -ex "set height unlimited" -ex "start" --args "/home/shorne/work/openris
c/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings"
Don't know how to run. Try "help target".
sh-4.3$ UNSUPPORTED: gdb.base/batch-preserve-term-settings.exp: batch run: gdb -batch -ex run
echo test_echo
test_echo
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: batch run: echo test_echo
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: batch run: stty after
PASS: gdb.base/batch-preserve-term-settings.exp: batch run: terminal settings preserved
exit
exit
PASS: gdb.base/batch-preserve-term-settings.exp: batch run: exit shell
spawn /bin/sh
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit: spawn shell
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit: stty before
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc
/build-gdb/gdb/testsuite/../data-directory --args "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/ba
tch-preserve-term-settings/batch-preserve-term-settings"
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings...done.
(gdb) PASS: gdb.base/batch-preserve-term-settings.exp: cli exit: start gdb
quit
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit: quit gdb
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit: stty after
PASS: gdb.base/batch-preserve-term-settings.exp: cli exit: terminal settings preserved
exit
exit
PASS: gdb.base/batch-preserve-term-settings.exp: cli exit: exit shell
spawn /bin/sh
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after start cmd: spawn shell
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after start cmd: stty before
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc
/build-gdb/gdb/testsuite/../data-directory --args "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/ba
tch-preserve-term-settings/batch-preserve-term-settings"
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings...done.
(gdb) PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after start cmd: start gdb
start
Don't know how to run. Try "help target".
(gdb) PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after start cmd: run command start
quit
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after start cmd: quit gdb
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after start cmd: stty after
PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after start cmd: terminal settings preserved
exit
exit
PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after start cmd: exit shell
spawn /bin/sh
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after run cmd: spawn shell
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after run cmd: stty before
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc
/build-gdb/gdb/testsuite/../data-directory --args "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/ba
tch-preserve-term-settings/batch-preserve-term-settings"
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/batch-preserve-term-settings/batch-preserve-term-settings...done.
(gdb) PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after run cmd: start gdb
run
Don't know how to run. Try "help target".
(gdb) PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after run cmd: run command run
quit
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after run cmd: quit gdb
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after run cmd: stty after
PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after run cmd: terminal settings preserved
exit
exit
PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after run cmd: exit shell
spawn /bin/sh
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after SIGTERM: spawn shell
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after SIGTERM: stty before
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc
/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after SIGTERM: start gdb
shell echo $PPID
14961
(gdb) PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after SIGTERM: run shell echo $PPID
Executing on host: kill -TERM 14961 (timeout = 300)
spawn -ignore SIGHUP kill -TERM 14961
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after SIGTERM: kill gdb with SIGTERM
stty || echo "not found"
speed 9600 baud; line = 0;
sh-4.3$ PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after SIGTERM: stty after
PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after SIGTERM: terminal settings preserved
exit
exit
PASS: gdb.base/batch-preserve-term-settings.exp: cli exit after SIGTERM: exit shell
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bfp-test.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bfp-test.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bfp-test/bfp-test (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bfp-test.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bfp-test/bfp-test
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bfp-test/bfp-test
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bfp-test/bfp-test...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x1a lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137456 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bfp-test.c, line 27.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x1a lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137456 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bfp-test/bfp-test
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bfp-test.c:27
27 b32 = 1.5f;
(gdb) break 31
Breakpoint 2 at 0x2400: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bfp-test.c, line 31.
(gdb) continue
Continuing.
Breakpoint 2, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bfp-test.c:31
31 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bfp-test.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bg-execution-repeat.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bg-execution-repeat/bg-execution-repeat0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bg-execution-repeat.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bg-execution-repeat/bg-execution-repeat0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bg-execution-repeat.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bg-execution-repeat/bg-execution-repeat0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bg-execution-repeat/bg-execution-repeat (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bg-execution-repeat/bg-execution-repeat0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bg-execution-repeat/bg-execution-repeat
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bg-execution-repeat/bg-execution-repeat0.o: In function `main':
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bg-execution-repeat.c:30: undefined reference to `sleep'
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bg-execution-repeat/bg-execution-repeat0.o: In function `main':
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bg-execution-repeat.c:30: undefined reference to `sleep'
collect2: error: ld returned 1 exit status
gdb compile failed, /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bg-execution-repeat/bg-execution-repeat0.o: In function `main':
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bg-execution-repeat.c:30: undefined reference to `sleep'
collect2: error: ld returned 1 exit status
UNTESTED: gdb.base/bg-execution-repeat.exp: failed to prepare
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bg-execution-repeat.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bigcore.exp ...
UNTESTED: gdb.base/bigcore.exp: Remote system
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bigcore.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x22f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x4318
Loading section .rodata, size 0x6 lma 0x4334
Loading section .eh_frame, size 0x4 lma 0x633c
Loading section .ctors, size 0x8 lma 0x6340
Loading section .dtors, size 0x8 lma 0x6348
Loading section .jcr, size 0x4 lma 0x6350
Loading section .data, size 0x860 lma 0x6354
Start address 0x100
Transfer rate: 155024 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/bitfields.exp: set print sevenbit-strings
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break break1
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c, line 44.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x22f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x4318
Loading section .rodata, size 0x6 lma 0x4334
Loading section .eh_frame, size 0x4 lma 0x633c
Loading section .ctors, size 0x8 lma 0x6340
Loading section .dtors, size 0x8 lma 0x6348
Loading section .jcr, size 0x4 lma 0x6350
Loading section .data, size 0x860 lma 0x6354
Start address 0x100
Transfer rate: 155024 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(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 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: print flags
cont
Continuing.
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #1
print flags
$2 = {uc = 0 '\000', s1 = -1, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s1)
cont
Continuing.
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #2
print flags
$3 = {uc = 0 '\000', s1 = 0, u1 = 1, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u1)
cont
Continuing.
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #3
print flags
$4 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 1, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s2)
cont
Continuing.
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #4
print flags
$5 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 1, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u2)
cont
Continuing.
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #5
print flags
$6 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 1, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s3)
cont
Continuing.
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #6
print flags
$7 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 1, s9 = 0, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u3)
cont
Continuing.
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #7
print flags
$8 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 1, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s9)
cont
Continuing.
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #8
print flags
$9 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 1, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u9)
cont
Continuing.
Breakpoint 1, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:44
44 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #9
print flags
$10 = {uc = 0 '\000', 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 0x23c8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c, line 48.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x22f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x4318
Loading section .rodata, size 0x6 lma 0x4334
Loading section .eh_frame, size 0x4 lma 0x633c
Loading section .ctors, size 0x8 lma 0x6340
Loading section .dtors, size 0x8 lma 0x6348
Loading section .jcr, size 0x4 lma 0x6350
Loading section .data, size 0x860 lma 0x6354
Start address 0x100
Transfer rate: 155024 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields
Breakpoint 2, break2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:48
48 }
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:48
48 }
(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 0x23e8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c, line 52.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x22f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x4318
Loading section .rodata, size 0x6 lma 0x4334
Loading section .eh_frame, size 0x4 lma 0x633c
Loading section .ctors, size 0x8 lma 0x6340
Loading section .dtors, size 0x8 lma 0x6348
Loading section .jcr, size 0x4 lma 0x6350
Loading section .data, size 0x860 lma 0x6354
Start address 0x100
Transfer rate: 155024 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields
Breakpoint 3, break3 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:52
52 }
(gdb) print flags
$13 = {uc = 0 '\000', s1 = 0, u1 = 1, s2 = 0, u2 = 3, s3 = 0, u3 = 7, s9 = 0, u9 = 511, sc = 0 '\000'}
(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 0x2408: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c, line 56.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x22f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x4318
Loading section .rodata, size 0x6 lma 0x4334
Loading section .eh_frame, size 0x4 lma 0x633c
Loading section .ctors, size 0x8 lma 0x6340
Loading section .dtors, size 0x8 lma 0x6348
Loading section .jcr, size 0x4 lma 0x6350
Loading section .data, size 0x860 lma 0x6354
Start address 0x100
Transfer rate: 155024 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields/bitfields
Breakpoint 4, break4 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:56
56 }
(gdb) print flags
$14 = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 1, u2 = 0, s3 = 3, u3 = 0, s9 = 255, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: signed bitfields, max positive values
cont
Continuing.
Breakpoint 4, break4 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:56
56 }
(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 '\000', s1 = -1, u1 = 0, s2 = -2, u2 = 0, s3 = -4, u3 = 0, s9 = -256, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: signed bitfields, max negative values
cont
Continuing.
Breakpoint 4, break4 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:56
56 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break4 #2
print flags
$17 = {uc = 0 '\000', s1 = -1, u1 = 0, s2 = -1, u2 = 0, s3 = -1, u3 = 0, s9 = -1, u9 = 0, sc = 0 '\000'}
(gdb) PASS: gdb.base/bitfields.exp: signed bitfields with -1
break break5
Breakpoint 5 at 0x2428: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c, line 60.
(gdb) cont
Continuing.
Breakpoint 5, break5 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.c:60
60 }
(gdb) PASS: gdb.base/bitfields.exp: continuing to break5
print container
$18 = {one = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 5, s9 = 0, u9 = 0, sc = 0 '\000'}, two = {uc = 0 '\000', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 3, s9 = 0, u9 = 0, sc = 0 '\000'}}
(gdb) PASS: gdb.base/bitfields.exp: distinct bitfields in container
print container.one.u3
$19 = 5
(gdb) PASS: gdb.base/bitfields.exp: print container.one.u3
print container.two.u3
$20 = 3
(gdb) PASS: gdb.base/bitfields.exp: print container.two.u3
set $myvar = (struct internalvartest) {0}
(gdb) PASS: gdb.base/bitfields.exp: set internal var
set $myvar.a = 0
(gdb) PASS: gdb.base/bitfields.exp: set $myvar.a = 0
set $myvar.inner.b = 1
(gdb) PASS: gdb.base/bitfields.exp: set $myvar.inner.b = 1
set $myvar.inner.deep.c = 0
(gdb) PASS: gdb.base/bitfields.exp: set $myvar.inner.deep.c = 0
set $myvar.inner.deep.d = -1
(gdb) PASS: gdb.base/bitfields.exp: set $myvar.inner.deep.d = -1
set $myvar.inner.e = 1
(gdb) PASS: gdb.base/bitfields.exp: set $myvar.inner.e = 1
set $myvar.f = 1
(gdb) PASS: gdb.base/bitfields.exp: set $myvar.f = 1
print $myvar.a
$21 = 0
(gdb) PASS: gdb.base/bitfields.exp: print $myvar.a
print $myvar.inner.b
$22 = 1
(gdb) PASS: gdb.base/bitfields.exp: print $myvar.inner.b
print $myvar.inner.deep.c
$23 = 0
(gdb) PASS: gdb.base/bitfields.exp: print $myvar.inner.deep.c
print $myvar.inner.deep.d
$24 = -1
(gdb) PASS: gdb.base/bitfields.exp: print $myvar.inner.deep.d
print $myvar.inner.e
$25 = -1
(gdb) PASS: gdb.base/bitfields.exp: print $myvar.inner.e
print $myvar.f
$26 = -1
(gdb) PASS: gdb.base/bitfields.exp: print $myvar.f
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields2/bitfields2 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields2/bitfields2
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields2/bitfields2
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields2/bitfields2...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x21b4 lma 0x2028
Loading section .fini, size 0x1c lma 0x41dc
Loading section .rodata, size 0x6 lma 0x41f8
Loading section .eh_frame, size 0x4 lma 0x6200
Loading section .ctors, size 0x8 lma 0x6204
Loading section .dtors, size 0x8 lma 0x620c
Loading section .jcr, size 0x4 lma 0x6214
Loading section .data, size 0x860 lma 0x6218
Start address 0x100
Transfer rate: 152496 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/bitfields2.exp: set print sevenbit-strings
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x2b34: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.c, line 166.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x21b4 lma 0x2028
Loading section .fini, size 0x1c lma 0x41dc
Loading section .rodata, size 0x6 lma 0x41f8
Loading section .eh_frame, size 0x4 lma 0x6200
Loading section .ctors, size 0x8 lma 0x6204
Loading section .dtors, size 0x8 lma 0x620c
Loading section .jcr, size 0x4 lma 0x6214
Loading section .data, size 0x860 lma 0x6218
Start address 0x100
Transfer rate: 152496 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bitfields2/bitfields2
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.c:166
166 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 0x24ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.c, line 26.
(gdb) cont
Continuing.
Breakpoint 3, break1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x24ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x23c8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.c, line 30.
(gdb) cont
Continuing.
Breakpoint 5, break2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x24ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x23e8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.c, line 34.
(gdb) cont
Continuing.
Breakpoint 7, break3 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x24ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x2408: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.c, line 38.
(gdb) cont
Continuing.
Breakpoint 9, break4 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x24ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 0x2428: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.c, line 42.
(gdb) cont
Continuing.
Breakpoint 11, break5 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitfields2.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitops.exp ...
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bitops.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-cmds-execution-x-script.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-cmds-execution-x-script/bp-cmds-execution-x-script0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-cmds-execution-x-script.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-cmds-execution-x-script/bp-cmds-execution-x-script0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-cmds-execution-x-script.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-cmds-execution-x-script/bp-cmds-execution-x-script0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-cmds-execution-x-script/bp-cmds-execution-x-script (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-cmds-execution-x-script/bp-cmds-execution-x-script0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-cmds-execution-x-script/bp-cmds-execution-x-script
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory -ex set height unlimited -x /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-cmds-execution-x-script.gdb --args /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-cmds-execution-x-script/bp-cmds-execution-x-script
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-cmds-execution-x-script/bp-cmds-execution-x-script...done.
Breakpoint 1 at 0x23ac: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-cmds-execution-x-script.c, line 21.
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-cmds-execution-x-script.gdb:20: Error in sourced command file:
Don't know how to run. Try "help target".
(gdb) UNSUPPORTED: gdb.base/bp-cmds-execution-x-script.exp: run to end
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-cmds-execution-x-script.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-permanent/bp-permanent0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/bp-permanent/bp-permanent0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c: Assembler messages:
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:43: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:44: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:45: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:46: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:47: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:48: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:49: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:50: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:51: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:52: Error: unrecognized instruction `nop'
compiler exited with status 1
output is:
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c: Assembler messages:
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:43: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:44: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:45: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:46: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:47: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:48: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:49: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:50: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:51: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:52: Error: unrecognized instruction `nop'
gdb compile failed, /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c: Assembler messages:
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:43: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:44: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:45: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:46: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:47: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:48: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:49: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:50: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:51: Error: unrecognized instruction `nop'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.c:52: Error: unrecognized instruction `nop'
UNTESTED: gdb.base/bp-permanent.exp: failed to prepare
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/bp-permanent.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-always/break-always0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-always/break-always0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-always/break-always0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-always/break-always (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-always/break-always0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-always/break-always
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-always/break-always
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-always/break-always...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a58 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a80
Loading section .rodata, size 0x6 lma 0x3a9c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137424 bits in <1 sec.
(gdb) set breakpoint always-inserted on
(gdb) PASS: gdb.base/break-always.exp: set breakpoint always-inserted on
show breakpoint always-inserted
Always inserted breakpoint mode is on.
(gdb) PASS: gdb.base/break-always.exp: confirm breakpoint always-inserted
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break foo
Breakpoint 1 at 0x23d0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c, line 25.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a58 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a80
Loading section .rodata, size 0x6 lma 0x3a9c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137424 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-always/break-always
Breakpoint 1, foo () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:25
25 return bar ();
(gdb) break bar
Breakpoint 2 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c, line 20.
(gdb) PASS: gdb.base/break-always.exp: set breakpoint on bar
break bar
Note: breakpoint 2 also set at pc 0x23a8.
Breakpoint 3 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c, line 20.
(gdb) PASS: gdb.base/break-always.exp: set 2nd breakpoint on bar
break bar
Note: breakpoints 2 and 3 also set at pc 0x23a8.
Breakpoint 4 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c, line 20.
(gdb) PASS: gdb.base/break-always.exp: set 3rd breakpoint on bar
break bar
Note: breakpoints 2, 3 and 4 also set at pc 0x23a8.
Breakpoint 5 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c, line 20.
(gdb) PASS: gdb.base/break-always.exp: set 4th breakpoint on bar
info breakpoints
Num Type Disp Enb Address What
1 breakpoint keep y 0x000023d0 in foo at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:25
breakpoint already hit 1 time
2 breakpoint keep y 0x000023a8 in bar at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:20
3 breakpoint keep y 0x000023a8 in bar at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:20
4 breakpoint keep y 0x000023a8 in bar at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:20
5 breakpoint keep y 0x000023a8 in bar at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:20
(gdb) PASS: gdb.base/break-always.exp: initial check breakpoint state
disable
(gdb) PASS: gdb.base/break-always.exp: initial disable all breakpoints
enable
(gdb) PASS: gdb.base/break-always.exp: initial enable all breakpoints
disable
(gdb) PASS: gdb.base/break-always.exp: re-disable all breakpoints
enable 3
(gdb) PASS: gdb.base/break-always.exp: enable 3.A
disable 3
(gdb) PASS: gdb.base/break-always.exp: disable 3.B
enable 3
(gdb) PASS: gdb.base/break-always.exp: enable 3.C
enable 2
(gdb) PASS: gdb.base/break-always.exp: enable 2.D
disable 2
(gdb) PASS: gdb.base/break-always.exp: disable 2.E
disable 3
(gdb) PASS: gdb.base/break-always.exp: disable 3.F
enable 3
(gdb) PASS: gdb.base/break-always.exp: enable 3.G
enable 2
(gdb) PASS: gdb.base/break-always.exp: enable 2.H
disable 2
(gdb) PASS: gdb.base/break-always.exp: disable 2.I
info breakpoints
Num Type Disp Enb Address What
1 breakpoint keep n 0x000023d0 in foo at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:25
breakpoint already hit 1 time
2 breakpoint keep n 0x000023a8 in bar at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:20
3 breakpoint keep y 0x000023a8 in bar at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:20
4 breakpoint keep n 0x000023a8 in bar at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:20
5 breakpoint keep n 0x000023a8 in bar at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:20
(gdb) PASS: gdb.base/break-always.exp: before re-enable check breakpoint state
enable
(gdb) PASS: gdb.base/break-always.exp: re-enable all breakpoints
break bar
Note: breakpoints 2, 3, 4 and 5 also set at pc 0x23a8.
Breakpoint 6 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c, line 20.
(gdb) PASS: gdb.base/break-always.exp: set breakpoint on bar 2
p /x $shadow = *(char *) 0x23a8
$1 = 0x9c
(gdb) PASS: gdb.base/break-always.exp: save shadow
p /x *(char *) 0x23a8 = 0
$2 = 0x0
(gdb) PASS: gdb.base/break-always.exp: write 0 to breakpoint's address
p /x *(char *) 0x23a8
$3 = 0x0
(gdb) PASS: gdb.base/break-always.exp: read back 0 from the breakpoint's address
p /x *(char *) 0x23a8 = 1
$4 = 0x1
(gdb) PASS: gdb.base/break-always.exp: write 1 to breakpoint's address
p /x *(char *) 0x23a8
$5 = 0x1
(gdb) PASS: gdb.base/break-always.exp: read back 1 from the breakpoint's address
p /x *(char *) 0x23a8 = $shadow
$6 = 0x9c
(gdb) PASS: gdb.base/break-always.exp: restore the original contents
continue
Continuing.
Breakpoint 2, bar () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.c:20
20 return 1; /* break in bar */
(gdb) PASS: gdb.base/break-always.exp: continue to breakpoint: bar
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-always.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-caller-line.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-caller-line/break-caller-line0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-caller-line.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-caller-line/break-caller-line0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-caller-line.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-caller-line/break-caller-line0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-caller-line/break-caller-line (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-caller-line/break-caller-line0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-caller-line/break-caller-line
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-caller-line/break-caller-line
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-caller-line/break-caller-line...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a3c lma 0x2028
Loading section .fini, size 0x1c lma 0x3a64
Loading section .rodata, size 0x6 lma 0x3a80
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137200 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break callee
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-caller-line.c, line 23.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a3c lma 0x2028
Loading section .fini, size 0x1c lma 0x3a64
Loading section .rodata, size 0x6 lma 0x3a80
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137200 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-caller-line/break-caller-line
Breakpoint 1, callee () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-caller-line.c:23
23 v++;
(gdb) up
#1 0x000023f0 in main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-caller-line.c:29
29 callee ();
(gdb) PASS: gdb.base/break-caller-line.exp: up
info line *$pc
Line 30 of "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-caller-line.c" starts at address 0x23f0 <main+24> and ends at 0x23f4 <main+28>.
(gdb) PASS: gdb.base/break-caller-line.exp: info line *$pc
break
Breakpoint 2 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-caller-line.c, line 30.
(gdb) PASS: gdb.base/break-caller-line.exp: break
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-caller-line.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-entry.exp ...
Executing on host: or1k-elf-gcc -static -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/start.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -static -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/start.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry0.o -static -mnewlib -mboard=or1ksim -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry0.o -static -mnewlib -mboard=or1ksim -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a80 lma 0x2028
Loading section .fini, size 0x1c lma 0x3aa8
Loading section .rodata, size 0x6 lma 0x3ac4
Loading section .eh_frame, size 0x64 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4064
Loading section .dtors, size 0x8 lma 0x406c
Loading section .jcr, size 0x4 lma 0x4074
Loading section .data, size 0x860 lma 0x4078
Start address 0x100
Transfer rate: 138512 bits in <1 sec.
(gdb) info files
Symbols from "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry".
simulator:
Attached to sim running program /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry
While running this, GDB does not access memory from...
Local exec file:
`/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry', file type elf32-or1k.
Entry point: 0x100
0x00000000 - 0x00002000 is .vectors
0x00002000 - 0x00002028 is .init
0x00002028 - 0x00003aa8 is .text
0x00003aa8 - 0x00003ac4 is .fini
0x00003ac4 - 0x00003aca is .rodata
0x00004000 - 0x00004064 is .eh_frame
0x00004064 - 0x0000406c is .ctors
0x0000406c - 0x00004074 is .dtors
0x00004074 - 0x00004078 is .jcr
0x00004078 - 0x000048d8 is .data
0x000048d8 - 0x00004aa4 is .bss
(gdb) PASS: gdb.base/break-entry.exp: info files
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break *0x100
Breakpoint 1 at 0x100
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a80 lma 0x2028
Loading section .fini, size 0x1c lma 0x3aa8
Loading section .rodata, size 0x6 lma 0x3ac4
Loading section .eh_frame, size 0x64 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4064
Loading section .dtors, size 0x8 lma 0x406c
Loading section .jcr, size 0x4 lma 0x4074
Loading section .data, size 0x860 lma 0x4078
Start address 0x100
Transfer rate: 138512 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-entry/break-entry
Breakpoint 1, 0x00000100 in _or1k_reset ()
(gdb) p/x $pc
$1 = 0x100
(gdb) PASS: gdb.base/break-entry.exp: p/x $pc
break main
Breakpoint 2 at 0x2414
(gdb) continue
Continuing.
Breakpoint 2, 0x00002414 in main ()
(gdb) PASS: gdb.base/break-entry.exp: continue to breakpoint: main
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-entry.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-fun-addr.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-fun-addr1.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-fun-addr1.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0x6 lma 0x3a34
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136592 bits in <1 sec.
(gdb) break *main
Breakpoint 1 at 0x239c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-fun-addr1.c, line 20.
(gdb) PASS: gdb.base/break-fun-addr.exp: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1: break *main
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0x6 lma 0x3a34
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136592 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-fun-addr1.c:20
20 {
(gdb) PASS: gdb.base/break-fun-addr.exp: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1: run to breakpoint at *main
p $pc == main
$1 = 1
(gdb) PASS: gdb.base/break-fun-addr.exp: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1: p $pc == main
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-fun-addr2.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr2 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-fun-addr2.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr2
kill
Kill the program being debugged? (y or n) y
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr2
Load new symbol table from "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr2"? (y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr2...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a30 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a58
Loading section .rodata, size 0x6 lma 0x3a74
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137104 bits in <1 sec.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a30 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a58
Loading section .rodata, size 0x6 lma 0x3a74
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137104 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr2
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-fun-addr2.c:26
26 {
(gdb) PASS: gdb.base/break-fun-addr.exp: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr2: run to breakpoint at *main
p $pc == main
$2 = 1
(gdb) PASS: gdb.base/break-fun-addr.exp: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr2: p $pc == main
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-fun-addr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ae4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b0c
Loading section .rodata, size 0x6 lma 0x3b28
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 138544 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x2464: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c, line 48.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ae4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b0c
Loading section .rodata, size 0x6 lma 0x3b28
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 138544 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c:48
48 for (i = 0; i < 1000; i++)
(gdb) 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 main
Breakpoint 2 at 0x2464: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c, line 48.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ae4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b0c
Loading section .rodata, size 0x6 lma 0x3b28
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 138544 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent
Breakpoint 2, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c:48
48 for (i = 0; i < 1000; i++)
(gdb) set breakpoint always-inserted off
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted off: break: set breakpoint always-inserted off
break foo
Breakpoint 3 at 0x23ac: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c, line 25.
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted off: break: once: break foo
break foo
Note: breakpoint 3 also set at pc 0x23ac.
Breakpoint 4 at 0x23ac: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c, line 25.
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted off: break: twice: break foo
file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Load new symbol table from "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent"? (y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent...done.
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted off: break: file $binfile
condition $bpnum cond_global == 0
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted off: break: condition $bpnum cond_global == 0
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) b bar
Breakpoint 5 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c, line 32.
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted off: break: b bar
continue
Continuing.
Breakpoint 5, bar (i=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c:32
32 return i;
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted off: break: continue
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 main
Breakpoint 6 at 0x2464: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c, line 48.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ae4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b0c
Loading section .rodata, size 0x6 lma 0x3b28
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 138544 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent
Breakpoint 6, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c:48
48 for (i = 0; i < 1000; i++)
(gdb) set breakpoint always-inserted on
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted on: break: set breakpoint always-inserted on
break foo
Breakpoint 7 at 0x23ac: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c, line 25.
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted on: break: once: break foo
break foo
Note: breakpoint 7 also set at pc 0x23ac.
Breakpoint 8 at 0x23ac: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c, line 25.
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted on: break: twice: break foo
file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Load new symbol table from "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent"? (y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-idempotent/break-idempotent...done.
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted on: break: file $binfile
condition $bpnum cond_global == 0
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted on: break: condition $bpnum cond_global == 0
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) b bar
Breakpoint 9 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c, line 32.
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted on: break: b bar
continue
Continuing.
Breakpoint 9, bar (i=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.c:32
32 return i;
(gdb) PASS: gdb.base/break-idempotent.exp: always-inserted on: break: continue
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-idempotent.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-inline.exp ...
Executing on host: or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -O2 -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-inline/break-inline0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-inline.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -O2 -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-inline/break-inline0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-inline.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-inline/break-inline0.o -w -mnewlib -mboard=or1ksim -g -O2 -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-inline/break-inline (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-inline/break-inline0.o -w -mnewlib -mboard=or1ksim -g -O2 -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-inline/break-inline
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-inline/break-inline
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-inline/break-inline...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19e4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a0c
Loading section .rodata, size 0x6 lma 0x3a28
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136496 bits in <1 sec.
(gdb) tbreak main
Temporary breakpoint 1 at 0x2030: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-inline.c, line 31.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19e4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a0c
Loading section .rodata, size 0x6 lma 0x3a28
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136496 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-inline/break-inline
Temporary breakpoint 1, main (argc=0, argv=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-inline.c:31
31 }
(gdb) break
Breakpoint 2 at 0x2030: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-inline.c, line 31.
(gdb) PASS: gdb.base/break-inline.exp: break
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-inline.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-interp.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-interp.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-main-file-remove-fail.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-main-file-remove-fail/break-main-file-remove-fail0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-main-file-remove-fail.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-main-file-remove-fail/break-main-file-remove-fail0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-main-file-remove-fail.c
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-main-file-remove-fail.c:19:22: fatal error: sys/mman.h: No such file or directory
compilation terminated.
compiler exited with status 1
output is:
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-main-file-remove-fail.c:19:22: fatal error: sys/mman.h: No such file or directory
compilation terminated.
gdb compile failed, /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-main-file-remove-fail.c:19:22: fatal error: sys/mman.h: No such file or directory
compilation terminated.
UNTESTED: gdb.base/break-main-file-remove-fail.exp: failed to prepare
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-main-file-remove-fail.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp ...
Executing on host: or1k-elf-g++ -ffunction-sections -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-on-linker-gcd-function.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -ffunction-sections -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-on-linker-gcd-function.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function0.o -Wl,--gc-sections -mnewlib -mboard=or1ksim -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function0.o -Wl,--gc-sections -mnewlib -mboard=or1ksim -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0x6 lma 0x3a34
Loading section .eh_frame, size 0x30 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4030
Loading section .dtors, size 0x8 lma 0x4038
Loading section .jcr, size 0x4 lma 0x4040
Loading section .data, size 0x858 lma 0x4044
Start address 0x100
Transfer rate: 136880 bits in <1 sec.
(gdb) b 24
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-on-linker-gcd-function.cc, line 24.
(gdb) PASS: gdb.base/break-on-linker-gcd-function.exp: b 24
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory --readnow
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-on-linker-gcd-function/break-on-linker-gcd-function...expanding to full symbols...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0x6 lma 0x3a34
Loading section .eh_frame, size 0x30 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4030
Loading section .dtors, size 0x8 lma 0x4038
Loading section .jcr, size 0x4 lma 0x4040
Loading section .data, size 0x858 lma 0x4044
Start address 0x100
Transfer rate: 136880 bits in <1 sec.
(gdb) b 24
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-on-linker-gcd-function.cc, line 24.
(gdb) PASS: gdb.base/break-on-linker-gcd-function.exp: readnow: b 24
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-probes.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-probes.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file...done.
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x6 lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137296 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 31.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x6 lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137296 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:31
31 foo ();
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) set breakpoint always-inserted off
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted off: break: set breakpoint always-inserted off
break foo
Breakpoint 2 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 21.
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted off: break: break foo
info break
Num Type Disp Enb Address What
2 breakpoint keep y 0x000023a8 in foo at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:21
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted off: break: breakpoint is not pending
file
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
No executable file now.
Discard symbol table from `/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file'? (y or n) y
Error in re-setting breakpoint 2: No symbol table is loaded. Use the "file" command.
No symbol file now.
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted off: break: file
info break
Num Type Disp Enb Address What
2 breakpoint keep n 0x000023a8
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted off: break: breakpoint is disabled
delete
Delete all breakpoints? (y or n) y
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted off: break: delete all breakpoints
file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file...done.
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted off: break: file $binfile
b bar
Breakpoint 3 at 0x23c8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 26.
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted off: break: b bar
continue
Continuing.
Breakpoint 3, bar () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:26
26 }
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted off: break: continue
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file...done.
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x6 lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137296 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 31.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x6 lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137296 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:31
31 foo ();
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) set breakpoint always-inserted on
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted on: break: set breakpoint always-inserted on
break foo
Breakpoint 2 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 21.
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted on: break: break foo
info break
Num Type Disp Enb Address What
2 breakpoint keep y 0x000023a8 in foo at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:21
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted on: break: breakpoint is not pending
file
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
No executable file now.
Discard symbol table from `/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file'? (y or n) y
Error in re-setting breakpoint 2: No symbol table is loaded. Use the "file" command.
No symbol file now.
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted on: break: file
info break
Num Type Disp Enb Address What
2 breakpoint keep n 0x000023a8
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted on: break: breakpoint is disabled
delete
Delete all breakpoints? (y or n) y
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted on: break: delete all breakpoints
file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file...done.
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted on: break: file $binfile
b bar
Breakpoint 3 at 0x23c8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 26.
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted on: break: b bar
continue
Continuing.
Breakpoint 3, bar () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:26
26 }
(gdb) PASS: gdb.base/break-unload-file.exp: cmdline: always-inserted on: break: continue
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set height 0
(gdb) set width 0
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file...done.
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x6 lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137296 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 31.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x6 lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137296 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:31
31 foo ();
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) set breakpoint always-inserted off
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted off: break: set breakpoint always-inserted off
break foo
Breakpoint 2 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 21.
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted off: break: break foo
info break
Num Type Disp Enb Address What
2 breakpoint keep y 0x000023a8 in foo at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:21
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted off: break: breakpoint is not pending
file
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
No executable file now.
Discard symbol table from `/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file'? (y or n) y
Error in re-setting breakpoint 2: No symbol table is loaded. Use the "file" command.
No symbol file now.
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted off: break: file
info break
Num Type Disp Enb Address What
2 breakpoint keep n 0x000023a8
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted off: break: breakpoint is disabled
delete
Delete all breakpoints? (y or n) y
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted off: break: delete all breakpoints
file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file...done.
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted off: break: file $binfile
b bar
Breakpoint 3 at 0x23c8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 26.
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted off: break: b bar
continue
Continuing.
Breakpoint 3, bar () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:26
26 }
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted off: break: continue
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set height 0
(gdb) set width 0
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file...done.
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x6 lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137296 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23ec: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 31.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a48 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a70
Loading section .rodata, size 0x6 lma 0x3a8c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 137296 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:31
31 foo ();
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) set breakpoint always-inserted on
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted on: break: set breakpoint always-inserted on
break foo
Breakpoint 2 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 21.
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted on: break: break foo
info break
Num Type Disp Enb Address What
2 breakpoint keep y 0x000023a8 in foo at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:21
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted on: break: breakpoint is not pending
file
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
No executable file now.
Discard symbol table from `/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file'? (y or n) y
Error in re-setting breakpoint 2: No symbol table is loaded. Use the "file" command.
No symbol file now.
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted on: break: file
info break
Num Type Disp Enb Address What
2 breakpoint keep n 0x000023a8
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted on: break: breakpoint is disabled
delete
Delete all breakpoints? (y or n) y
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted on: break: delete all breakpoints
file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break-unload-file/break-unload-file...done.
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted on: break: file $binfile
b bar
Breakpoint 3 at 0x23c8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c, line 26.
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted on: break: b bar
continue
Continuing.
Breakpoint 3, bar () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.c:26
26 }
(gdb) PASS: gdb.base/break-unload-file.exp: file: always-inserted on: break: continue
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break-unload-file.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.exp ...
Executing on host: or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c
Executing on host: or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break1.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break1.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xffa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x11fcc
Loading section .rodata, size 0x930 lma 0x11fe8
Loading section .eh_frame, size 0x4 lma 0x14918
Loading section .ctors, size 0x8 lma 0x1491c
Loading section .dtors, size 0x8 lma 0x14924
Loading section .jcr, size 0x4 lma 0x1492c
Loading section .data, size 0xcf8 lma 0x14930
Start address 0x100
Transfer rate: 635200 bits in <1 sec.
(gdb) delete breakpoints
(gdb) PASS: gdb.base/break.exp: Delete all breakpoints when none
break main
Breakpoint 1 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 43.
(gdb) PASS: gdb.base/break.exp: breakpoint function
break "marker2"
Breakpoint 2 at 0x267c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c, line 57.
(gdb) PASS: gdb.base/break.exp: breakpoint quoted function
break break.c:factorial
Breakpoint 3 at 0x2504: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 63.
(gdb) PASS: gdb.base/break.exp: breakpoint function in file
list main
37
38 int factorial(int);
39
40 int
41 main (int argc, char **argv, char **envp)
42 {
43 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */
44 fprintf (stderr, "usage: factorial <number>\n");
45 return 1;
46 }
(gdb) PASS: gdb.base/break.exp: use `list' to establish default source file
break 47
Breakpoint 4 at 0x2438: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 47.
(gdb) PASS: gdb.base/break.exp: breakpoint line number
break 47
Note: breakpoint 4 also set at pc 0x2438.
Breakpoint 5 at 0x2438: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 47.
(gdb) PASS: gdb.base/break.exp: breakpoint duplicate
break break.c:57
Breakpoint 6 at 0x24b4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 57.
(gdb) PASS: gdb.base/break.exp: breakpoint line number in file
break multi_line_if_conditional
Breakpoint 7 at 0x2568: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 71.
(gdb) PASS: gdb.base/break.exp: breakpoint at start of multi line if conditional
break multi_line_while_conditional
Breakpoint 8 at 0x25d4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 81.
(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 0x000023f0 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
2 breakpoint keep y 0x0000267c in marker2 at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c:57
3 breakpoint keep y 0x00002504 in factorial at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
4 breakpoint keep y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
5 breakpoint keep y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
6 breakpoint keep y 0x000024b4 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:57
7 breakpoint keep y 0x00002568 in multi_line_if_conditional at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:71
8 breakpoint keep y 0x000025d4 in multi_line_while_conditional at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:81
(gdb) PASS: gdb.base/break.exp: breakpoint info
info break 2 4 6
Num Type Disp Enb Address What
2 breakpoint keep y 0x0000267c in marker2 at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c:57
4 breakpoint keep y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
6 breakpoint keep y 0x000024b4 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:57
(gdb) PASS: gdb.base/break.exp: info break 2 4 6
info break 3-5
Num Type Disp Enb Address What
3 breakpoint keep y 0x00002504 in factorial at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
4 breakpoint keep y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
5 breakpoint keep y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
(gdb) PASS: gdb.base/break.exp: info break 3-5
print 1
$1 = 1
(gdb) print 2
$2 = 2
(gdb) print 3
$3 = 3
(gdb) print 4
$4 = 4
(gdb) print 5
$5 = 5
(gdb) print 6
$6 = 6
(gdb) disable $2 $$
(gdb) PASS: gdb.base/break.exp: disable using history values
info break
Num Type Disp Enb Address What
1 breakpoint keep y 0x000023f0 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
2 breakpoint keep n 0x0000267c in marker2 at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c:57
3 breakpoint keep y 0x00002504 in factorial at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
4 breakpoint keep y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
5 breakpoint keep n 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
6 breakpoint keep y 0x000024b4 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:57
7 breakpoint keep y 0x00002568 in multi_line_if_conditional at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:71
8 breakpoint keep y 0x000025d4 in multi_line_while_conditional at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:81
(gdb) PASS: gdb.base/break.exp: check disable with history values
enable
(gdb) set $foo = 3
(gdb) set $bar = 6
(gdb) disable $foo $bar
(gdb) PASS: gdb.base/break.exp: disable with convenience values
info break
Num Type Disp Enb Address What
1 breakpoint keep y 0x000023f0 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
2 breakpoint keep y 0x0000267c in marker2 at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c:57
3 breakpoint keep n 0x00002504 in factorial at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
4 breakpoint keep y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
5 breakpoint keep y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
6 breakpoint keep n 0x000024b4 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:57
7 breakpoint keep y 0x00002568 in multi_line_if_conditional at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:71
8 breakpoint keep y 0x000025d4 in multi_line_while_conditional at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:81
(gdb) PASS: gdb.base/break.exp: check disable with convenience values
enable
(gdb) disable 10
No breakpoint number 10.
(gdb) PASS: gdb.base/break.exp: disable non-existent breakpoint 10
set $baz = 1.234
(gdb) PASS: gdb.base/break.exp: set $baz = 1.234
disable $baz
Convenience variable must have integer value.
warning: bad breakpoint number at or near '$baz'
(gdb) PASS: gdb.base/break.exp: disable with non-integer convenience var
disable $grbx
Convenience variable must have integer value.
warning: bad breakpoint number at or near '$grbx'
(gdb) PASS: gdb.base/break.exp: disable with non-existent convenience var
disable $10
History has not yet reached $10.
(gdb) PASS: gdb.base/break.exp: disable with non-existent history value
disable $1foo
Convenience variable must have integer value.
warning: bad breakpoint number at or near '$1foo'
(gdb) PASS: gdb.base/break.exp: disable with badly formed history value
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xffa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x11fcc
Loading section .rodata, size 0x930 lma 0x11fe8
Loading section .eh_frame, size 0x4 lma 0x14918
Loading section .ctors, size 0x8 lma 0x1491c
Loading section .dtors, size 0x8 lma 0x14924
Loading section .jcr, size 0x4 lma 0x1492c
Loading section .data, size 0xcf8 lma 0x14930
Start address 0x100
Transfer rate: 635200 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break
Breakpoint 1, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
43 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
list marker1
51 (some versions of gcc have or have had problems with this).
52
53 These functions are in a separate source file to prevent an
54 optimizing compiler from inlining them and optimizing them away. */
55
56 int marker1 (void) { return (0); } /* set breakpoint 15 here */
57 int marker2 (int a) { return (1); } /* set breakpoint 8 here */
58 void marker3 (char *a, char *b) {} /* set breakpoint 17 here */
59 void marker4 (long d) { values[0].a_field = d; } /* set breakpoint 14 here */
(gdb) PASS: gdb.base/break.exp: list marker1
break 56
Breakpoint 9 at 0x2654: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c, line 56.
(gdb) PASS: gdb.base/break.exp: break lineno
delete $bpnum
(gdb) PASS: gdb.base/break.exp: delete $bpnum
continue
Continuing.
Breakpoint 4, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
47 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
63 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
63 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
63 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
63 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
63 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
63 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c:57
57 int marker2 (int a) { return (1); } /* set breakpoint 8 here */
(gdb) PASS: gdb.base/break.exp: run until quoted breakpoint
continue
Continuing.
Breakpoint 6, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:57
57 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 10 at 0x24d4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 58.
(gdb) PASS: gdb.base/break.exp: breakpoint offset +1
step
Breakpoint 10, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:58
58 return argc; /* set breakpoint 10 here */
(gdb) PASS: gdb.base/break.exp: step onto breakpoint
break 59
Breakpoint 11 at 0x24d8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 59.
(gdb) PASS: gdb.base/break.exp: setting breakpoint at }
continue
Continuing.
Breakpoint 11, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:59
59 } /* set breakpoint 10a here */
(gdb) PASS: gdb.base/break.exp: continue to breakpoint at }
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) tbreak main
Temporary breakpoint 12 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 43.
(gdb) PASS: gdb.base/break.exp: Temporary breakpoint function
tbreak break.c:factorial
Temporary breakpoint 13 at 0x2504: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 63.
(gdb) PASS: gdb.base/break.exp: Temporary breakpoint function in file
tbreak 47
Temporary breakpoint 14 at 0x2438: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 47.
(gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number #1
tbreak 43
Note: breakpoint 12 also set at pc 0x23f0.
Temporary breakpoint 15 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 43.
(gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number #2
tbreak break.c:57
Temporary breakpoint 16 at 0x24b4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 57.
(gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number in file #1
tbreak break.c:49
Temporary breakpoint 17 at 0x246c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 49.
(gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number in file #2
info break
Num Type Disp Enb Address What
12 breakpoint del y 0x000023f0 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
13 breakpoint del y 0x00002504 in factorial at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
14 breakpoint del y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
15 breakpoint del y 0x000023f0 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
16 breakpoint del y 0x000024b4 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:57
17 breakpoint del y 0x0000246c in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:49
(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 18 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 43.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xffa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x11fcc
Loading section .rodata, size 0x930 lma 0x11fe8
Loading section .eh_frame, size 0x4 lma 0x14918
Loading section .ctors, size 0x8 lma 0x1491c
Loading section .dtors, size 0x8 lma 0x14924
Loading section .jcr, size 0x4 lma 0x1492c
Loading section .data, size 0xcf8 lma 0x14930
Start address 0x100
Transfer rate: 635200 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break
Breakpoint 18, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
43 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 19 (fork)
(gdb) PASS: gdb.base/break.exp: set catch fork, never expected to trigger
catch vfork
Catchpoint 20 (vfork)
(gdb) PASS: gdb.base/break.exp: set catch vfork, never expected to trigger
catch exec
Catchpoint 21 (exec)
(gdb) PASS: gdb.base/break.exp: set catch exec, never expected to trigger
set breakpoint pending off
(gdb) PASS: gdb.base/break.exp: set breakpoint pending off
break 999
No line 999 in the current file.
(gdb) PASS: gdb.base/break.exp: break on non-existent source line
until 47
warning: Error inserting catchpoint 19: Your system does not support this type
of catchpoint.
warning: Error inserting catchpoint 20: Your system does not support this type
of catchpoint.
warning: Error inserting catchpoint 21: Your system does not support this type
of catchpoint.
main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
47 printf ("%d\n", factorial (atoi ("6"))); /* set breakpoint 1 here */
(gdb) PASS: gdb.base/break.exp: until bp_location1
break
Breakpoint 22 at 0x2438: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 47.
(gdb) PASS: gdb.base/break.exp: break on default location, 1st time
break
Note: breakpoint 22 also set at pc 0x2438.
Breakpoint 23 at 0x2438: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 47.
(gdb) PASS: gdb.base/break.exp: break on default location, 2nd time
break
Note: breakpoints 22 and 23 also set at pc 0x2438.
Breakpoint 24 at 0x2438: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 47.
(gdb) PASS: gdb.base/break.exp: break on default location, 3rd time
break
Note: breakpoints 22, 23 and 24 also set at pc 0x2438.
Breakpoint 25 at 0x2438: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 47.
(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 26 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 43.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xffa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x11fcc
Loading section .rodata, size 0x930 lma 0x11fe8
Loading section .eh_frame, size 0x4 lma 0x14918
Loading section .ctors, size 0x8 lma 0x1491c
Loading section .dtors, size 0x8 lma 0x14924
Loading section .jcr, size 0x4 lma 0x1492c
Loading section .data, size 0xcf8 lma 0x14930
Start address 0x100
Transfer rate: 635200 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break
Breakpoint 26, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
43 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */
(gdb) break 47
Breakpoint 27 at 0x2438: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 47.
(gdb) PASS: gdb.base/break.exp: set to-be-silent break bp_location1
commands 27
Type commands for breakpoint(s) 27, 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 27
Num Type Disp Enb Address What
27 breakpoint keep y 0x00002438 in main at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
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=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
(gdb) PASS: gdb.base/break.exp: stopped for silent break bp_location1
break 48 thread 999
Unknown thread 999.
(gdb) PASS: gdb.base/break.exp: thread-specific breakpoint on non-existent thread disallowed
break 48 thread foo
Invalid thread ID: foo
(gdb) PASS: gdb.base/break.exp: thread-specific breakpoint on bogus thread ID disallowed
break 48 foo
malformed linespec error: unexpected string, "foo"
(gdb) PASS: gdb.base/break.exp: breakpoint with trailing garbage disallowed
next
720
49 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 28 at 0x26a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c, line 58.
(gdb) PASS: gdb.base/break.exp: break marker3 #1
break marker3
Note: breakpoint 28 also set at pc 0x26a8.
Breakpoint 29 at 0x26a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c, line 58.
(gdb) PASS: gdb.base/break.exp: break marker3 #2
clear marker3
Deleted breakpoints 28 29
(gdb) PASS: gdb.base/break.exp: clear marker3
set $foo=49
(gdb) PASS: gdb.base/break.exp: set convenience variable $foo to bp_location11
break $foo
Breakpoint 30 at 0x246c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 49.
(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 31 at 0x267c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c, line 57.
(gdb) PASS: gdb.base/break.exp: set breakpoint on to-be-called function
print marker2(99)
Breakpoint 31, marker2 (a=99) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c:57
57 int marker2 (int a) { return (1); } /* set breakpoint 8 here */
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(marker2) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/break.exp: hit breakpoint on called function
bt
#0 marker2 (a=99) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c:57
#1 <function called from gdb>
#2 main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:49
(gdb) PASS: gdb.base/break.exp: backtrace while in called function
finish
Run till exit from #0 marker2 (a=99) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c:57
main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:49
49 marker1 (); /* set breakpoint 11 here */
Value returned is $7 = 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 32 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 43.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xffa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x11fcc
Loading section .rodata, size 0x930 lma 0x11fe8
Loading section .eh_frame, size 0x4 lma 0x14918
Loading section .ctors, size 0x8 lma 0x1491c
Loading section .dtors, size 0x8 lma 0x14924
Loading section .jcr, size 0x4 lma 0x1492c
Loading section .data, size 0xcf8 lma 0x14930
Start address 0x100
Transfer rate: 635200 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break
Breakpoint 32, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
43 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 33 at 0x2504: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 63.
(gdb) PASS: gdb.base/break.exp: break at factorial
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xffa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x11fcc
Loading section .rodata, size 0x930 lma 0x11fe8
Loading section .eh_frame, size 0x4 lma 0x14918
Loading section .ctors, size 0x8 lma 0x1491c
Loading section .dtors, size 0x8 lma 0x14924
Loading section .jcr, size 0x4 lma 0x1492c
Loading section .data, size 0xcf8 lma 0x14930
Start address 0x100
Transfer rate: 635200 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/break
Breakpoint 33, factorial (value=6) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
63 if (value > 1) { /* set breakpoint 7 here */
(gdb) PASS: gdb.base/break.exp: run to factorial(6)
continue
Continuing.
Breakpoint 33, factorial (value=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
63 if (value > 1) { /* set breakpoint 7 here */
(gdb) PASS: gdb.base/break.exp: continue to factorial(5)
backtrace
#0 factorial (value=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:63
#1 0x00002524 in factorial (value=6) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:64
#2 0x00002454 in main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
(gdb) PASS: gdb.base/break.exp: backtrace from factorial(5)
next
64 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
66 return (value); /* set breakpoint 19 here */
(gdb) PASS: gdb.base/break.exp: next over recursive call
backtrace
#0 factorial (value=120) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:66
#1 0x00002524 in factorial (value=6) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:64
#2 0x00002454 in main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:47
(gdb) PASS: gdb.base/break.exp: backtrace from factorial(5.1)
continue
Continuing.
720
[Inferior 1 (process 42000) exited normally]
(gdb) PASS: gdb.base/break.exp: continue until exit at recursive next test
Executing on host: or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -O2 -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako20.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -O2 -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako20.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c
Executing on host: or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -O2 -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako21.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -O2 -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako21.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako20.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako21.o -w -mnewlib -mboard=or1ksim -g -O2 -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako2 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako20.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako21.o -w -mnewlib -mboard=or1ksim -g -O2 -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako2
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako2
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako2...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfe3c lma 0x2028
Loading section .fini, size 0x1c lma 0x11e64
Loading section .rodata, size 0x930 lma 0x11e80
Loading section .eh_frame, size 0x4 lma 0x147b0
Loading section .ctors, size 0x8 lma 0x147b4
Loading section .dtors, size 0x8 lma 0x147bc
Loading section .jcr, size 0x4 lma 0x147c4
Loading section .data, size 0xcf8 lma 0x147c8
Start address 0x100
Transfer rate: 632320 bits in <1 sec.
(gdb) break main
Breakpoint 1 at 0x2028: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 42.
(gdb) PASS: gdb.base/break.exp: breakpoint function, optimized file
break marker4
Breakpoint 2 at 0x2578: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c, line 59.
(gdb) PASS: gdb.base/break.exp: breakpoint small function, optimized file
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfe3c lma 0x2028
Loading section .fini, size 0x1c lma 0x11e64
Loading section .rodata, size 0x930 lma 0x11e80
Loading section .eh_frame, size 0x4 lma 0x147b0
Loading section .ctors, size 0x8 lma 0x147b4
Loading section .dtors, size 0x8 lma 0x147bc
Loading section .jcr, size 0x4 lma 0x147c4
Loading section .data, size 0xcf8 lma 0x147c8
Start address 0x100
Transfer rate: 632320 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako2
Breakpoint 1, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:42
42 {
(gdb) PASS: gdb.base/break.exp: run until function breakpoint, optimized file (code motion)
continue
Continuing.
720
Breakpoint 2, marker4 (d=d@entry=177601976) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c:59
59 void marker4 (long d) { values[0].a_field = d; } /* set breakpoint 14 here */
PASS: gdb.base/break.exp: run until breakpoint set at small function, optimized file (line bp_location14)
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako2
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako2...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfe3c lma 0x2028
Loading section .fini, size 0x1c lma 0x11e64
Loading section .rodata, size 0x930 lma 0x11e80
Loading section .eh_frame, size 0x4 lma 0x147b0
Loading section .ctors, size 0x8 lma 0x147b4
Loading section .dtors, size 0x8 lma 0x147bc
Loading section .jcr, size 0x4 lma 0x147c4
Loading section .data, size 0xcf8 lma 0x147c8
Start address 0x100
Transfer rate: 632320 bits in <1 sec.
(gdb) set breakpoint pending on
(gdb) PASS: gdb.base/break.exp: rbreak junk pending setup
rbreak main
Breakpoint 1 at 0x2028: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 42.
int main(int, char **, char **);
(gdb) PASS: gdb.base/break.exp: rbreak junk set breakpoint
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfe3c lma 0x2028
Loading section .fini, size 0x1c lma 0x11e64
Loading section .rodata, size 0x930 lma 0x11e80
Loading section .eh_frame, size 0x4 lma 0x147b0
Loading section .ctors, size 0x8 lma 0x147b4
Loading section .dtors, size 0x8 lma 0x147bc
Loading section .jcr, size 0x4 lma 0x147c4
Loading section .data, size 0xcf8 lma 0x147c8
Start address 0x100
Transfer rate: 632320 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/break/breako2
Breakpoint 1, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:42
42 {
(gdb) PASS: gdb.base/break.exp: rbreak junk
set $l = 47
(gdb) PASS: gdb.base/break.exp: set $l = 47
break break.c:$l
Breakpoint 2 at 0x203c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 47.
(gdb) set $foo=81.5
(gdb) PASS: gdb.base/break.exp: set convenience variable $foo to 81.5
break break.c:$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
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-in-ro-region/breakpoint-in-ro-region0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-in-ro-region.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-in-ro-region/breakpoint-in-ro-region0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-in-ro-region.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-in-ro-region/breakpoint-in-ro-region0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-in-ro-region/breakpoint-in-ro-region (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-in-ro-region/breakpoint-in-ro-region0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-in-ro-region/breakpoint-in-ro-region
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-in-ro-region/breakpoint-in-ro-region
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-in-ro-region/breakpoint-in-ro-region...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ad8
Loading section .rodata, size 0x6 lma 0x3af4
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 138128 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-in-ro-region.c, line 23.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ad8
Loading section .rodata, size 0x6 lma 0x3af4
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 138128 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-in-ro-region/breakpoint-in-ro-region
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-in-ro-region.c:23
23 i = 0;
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) set debug target 1
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: set debug target 1
si
-> sim->to_log_command (...)
<- sim->to_log_command (0xa8aa40, si)
-> sim->to_record_is_replaying (...)
<- sim->to_record_is_replaying (0xa8aa40, -1) = 0
-> sim->to_record_will_replay (...)
<- sim->to_record_will_replay (0xa8aa40, -1, 0) = 0
-> sim->to_supports_multi_process (...)
<- sim->to_supports_multi_process (0xa8aa40) = 0
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_fetch_registers (...)
<- sim->to_fetch_registers (0xa8aa40, 0x1f7ea70, 32)
target_fetch_registers (ppc) = 00000000 0x0 0
-> sim->to_record_will_replay (...)
<- sim->to_record_will_replay (0xa8aa40, -1, 0) = 0
-> sim->to_supports_multi_process (...)
<- sim->to_supports_multi_process (0xa8aa40) = 0
-> sim->to_record_will_replay (...)
<- sim->to_record_will_replay (0xa8aa40, -1, 0) = 0
-> sim->to_always_non_stop_p (...)
<- sim->to_always_non_stop_p (0xa8aa40) = 0
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_check_pending_interrupt (...)
<- sim->to_check_pending_interrupt (0xa8aa40)
-> sim->to_always_non_stop_p (...)
<- sim->to_always_non_stop_p (0xa8aa40) = 0
-> sim->to_record_will_replay (...)
<- sim->to_record_will_replay (0xa8aa40, -1, 0) = 0
-> sim->to_supports_multi_process (...)
<- sim->to_supports_multi_process (0xa8aa40) = 0
-> sim->to_can_async_p (...)
<- sim->to_can_async_p (0xa8aa40) = 0
-> sim->to_terminal_inferior (...)
<- sim->to_terminal_inferior (0xa8aa40)
-> sim->to_pass_signals (...)
<- sim->to_pass_signals (0xa8aa40, 151, { SIGALRM SIGURG SIGCHLD SIGIO SIGVTALRM SIGPROF SIGWINCH SIGPOLL SIGWAITING SIGLWP SIGPRIO SIGCANCEL })
-> sim->to_resume (...)
<- sim->to_resume (0xa8aa40, -1, step, 0)
-> sim->to_is_async_p (...)
<- sim->to_is_async_p (0xa8aa40) = 0
-> sim->to_can_async_p (...)
<- sim->to_can_async_p (0xa8aa40) = 0
-> sim->to_execution_direction (...)
-> sim->to_can_execute_reverse (...)
<- sim->to_can_execute_reverse (0xa8aa40) = 0
<- sim->to_execution_direction (0xa8aa40) = 0
-> sim->to_can_async_p (...)
<- sim->to_can_async_p (0xa8aa40) = 0
-> sim->to_wait (...)
<- sim->to_wait (0xa8aa40, -1, status->kind = stopped, signal = GDB_SIGNAL_TRAP, ) = 42000
-> sim->to_always_non_stop_p (...)
<- sim->to_always_non_stop_p (0xa8aa40) = 0
-> sim->to_supports_stopped_by_sw_breakpoint (...)
<- sim->to_supports_stopped_by_sw_breakpoint (0xa8aa40) = 0
-> sim->to_thread_architecture (...)
<- sim->to_thread_architecture (0xa8aa40, 42000) = or1k
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_always_non_stop_p (...)
<- sim->to_always_non_stop_p (0xa8aa40) = 0
-> sim->to_always_non_stop_p (...)
<- sim->to_always_non_stop_p (0xa8aa40) = 0
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_fetch_registers (...)
<- sim->to_fetch_registers (0xa8aa40, 0x152c7c0, 33)
target_fetch_registers (npc) = 000023ac 0x23ac 9132
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_get_unwinder (...)
<- sim->to_get_unwinder (0xa8aa40) = 0x0
-> sim->to_get_tailcall_unwinder (...)
<- sim->to_get_tailcall_unwinder (0xa8aa40) = 0x0
-> sim->to_fetch_registers (...)
<- sim->to_fetch_registers (0xa8aa40, 0x152c7c0, 2)
target_fetch_registers (r2) = 007fe000 0x7fe000 8380416
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_always_non_stop_p (...)
<- sim->to_always_non_stop_p (0xa8aa40) = 0
-> sim->to_stopped_by_watchpoint (...)
<- sim->to_stopped_by_watchpoint (0xa8aa40) = 0
-> sim->to_thread_address_space (...)
<- sim->to_thread_address_space (0xa8aa40, 42000) = 1
-> sim->to_supports_stopped_by_sw_breakpoint (...)
<- sim->to_supports_stopped_by_sw_breakpoint (0xa8aa40) = 0
-> sim->to_stopped_by_sw_breakpoint (...)
<- sim->to_stopped_by_sw_breakpoint (0xa8aa40) = 0
-> sim->to_stopped_by_hw_breakpoint (...)
<- sim->to_stopped_by_hw_breakpoint (0xa8aa40) = 0
-> sim->to_always_non_stop_p (...)
<- sim->to_always_non_stop_p (0xa8aa40) = 0
-> sim->to_always_non_stop_p (...)
<- sim->to_always_non_stop_p (0xa8aa40) = 0
-> sim->to_always_non_stop_p (...)
<- sim->to_always_non_stop_p (0xa8aa40) = 0
-> sim->to_update_thread_list (...)
<- sim->to_update_thread_list (0xa8aa40)
-> sim->to_terminal_ours (...)
<- sim->to_terminal_ours (0xa8aa40)
0x000023ac 23 i = 0;
-> sim->to_can_async_p (...)
<- sim->to_can_async_p (0xa8aa40) = 0
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: probe target hardware step
set debug target 0
-> sim->to_log_command (...)
<- sim->to_log_command (0xa8aa40, set debug target 0)
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: set debug target 0
disassemble main
Dump of assembler code for function main:
0x0000239c <+0>: l.sw -4(r1),r2
0x000023a0 <+4>: l.addi r2,r1,0
0x000023a4 <+8>: l.addi r1,r1,-4
0x000023a8 <+12>: l.movhi r3,0x0
=> 0x000023ac <+16>: l.ori r3,r3,0x489c
0x000023b0 <+20>: l.addi r4,r0,0
0x000023b4 <+24>: l.sw 0(r3),r4
0x000023b8 <+28>: l.movhi r3,0x0
0x000023bc <+32>: l.ori r3,r3,0x489c
0x000023c0 <+36>: l.addi r4,r0,0
0x000023c4 <+40>: l.sw 0(r3),r4
0x000023c8 <+44>: l.movhi r3,0x0
0x000023cc <+48>: l.ori r3,r3,0x489c
0x000023d0 <+52>: l.addi r4,r0,0
0x000023d4 <+56>: l.sw 0(r3),r4
0x000023d8 <+60>: l.movhi r3,0x0
0x000023dc <+64>: l.ori r3,r3,0x489c
0x000023e0 <+68>: l.addi r4,r0,0
0x000023e4 <+72>: l.sw 0(r3),r4
0x000023e8 <+76>: l.movhi r3,0x0
0x000023ec <+80>: l.ori r3,r3,0x489c
0x000023f0 <+84>: l.addi r4,r0,0
0x000023f4 <+88>: l.sw 0(r3),r4
0x000023f8 <+92>: l.movhi r3,0x0
0x000023fc <+96>: l.ori r3,r3,0x489c
0x00002400 <+100>: l.addi r4,r0,0
0x00002404 <+104>: l.sw 0(r3),r4
0x00002408 <+108>: l.movhi r3,0x0
0x0000240c <+112>: l.ori r3,r3,0x489c
0x00002410 <+116>: l.addi r4,r0,0
0x00002414 <+120>: l.sw 0(r3),r4
0x00002418 <+124>: l.movhi r3,0x0
0x0000241c <+128>: l.ori r3,r3,0x489c
0x00002420 <+132>: l.addi r4,r0,0
0x00002424 <+136>: l.sw 0(r3),r4
0x00002428 <+140>: l.movhi r3,0x0
0x0000242c <+144>: l.ori r3,r3,0x489c
0x00002430 <+148>: l.addi r4,r0,0
0x00002434 <+152>: l.sw 0(r3),r4
0x00002438 <+156>: l.movhi r3,0x0
0x0000243c <+160>: l.ori r3,r3,0x489c
0x00002440 <+164>: l.addi r4,r0,0
0x00002444 <+168>: l.sw 0(r3),r4
0x00002448 <+172>: l.movhi r3,0x0
0x0000244c <+176>: l.ori r3,r3,0x489c
0x00002450 <+180>: l.addi r4,r0,0
0x00002454 <+184>: l.sw 0(r3),r4
0x00002458 <+188>: l.movhi r3,0x0
0x0000245c <+192>: l.ori r3,r3,0x489c
0x00002460 <+196>: l.addi r4,r0,0
0x00002464 <+200>: l.sw 0(r3),r4
0x00002468 <+204>: l.addi r3,r0,0
0x0000246c <+208>: l.ori r11,r3,0x0
0x00002470 <+212>: l.ori r1,r2,0x0
0x00002474 <+216>: l.lwz r2,-4(r1)
0x00002478 <+220>: l.jr r9
0x0000247c <+224>: l.nop 0x0
End of assembler dump.
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: get lo address of main
x/2i main+224
0x247c <main+224>: l.nop 0x0
0x2480 <atexit>: l.addi r6,r0,0
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: get hi address of main
mem 0x239c 0x2480 ro
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: create read-only mem region covering main
set mem inaccessible-by-default off
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: set mem inaccessible-by-default off
set breakpoint always-inserted on
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: set breakpoint always-inserted on
set breakpoint auto-hw off
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: set breakpoint auto-hw off
p /x *(char *) 0x239c = 1
Cannot access memory at address 0x239c
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: writing to read-only memory fails
break *0x239c
Breakpoint 2 at 0x239c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-in-ro-region.c, line 22.
Warning:
Cannot insert breakpoint 2.
Cannot set software breakpoint at read-only address 0x239c
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: inserting software breakpoint in read-only memory fails
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) hbreak *0x239c
No hardware breakpoint support in the target.
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: probe hbreak support (no support)
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) set breakpoint always-inserted off
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw off: set breakpoint always-inserted off
set breakpoint auto-hw off
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw off: set breakpoint auto-hw off
p /x $pc
$1 = 0x23ac
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw off: get current insn
x/2i $pc
=> 0x23ac <main+16>: l.ori r3,r3,0x489c
0x23b0 <main+20>: l.addi r4,r0,0
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw off: get next insn
si
0x000023b0 23 i = 0;
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw off: step in ro region (no error)
maint info breakpoints 0
No breakpoint or watchpoint matching '0'.
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw off: single-step breakpoint is not left behind
p /x $pc
$2 = 0x23b0
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw off: thread advanced
set breakpoint always-inserted off
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw on: set breakpoint always-inserted off
set breakpoint auto-hw on
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw on: set breakpoint auto-hw on
p /x $pc
$3 = 0x23b0
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw on: get current insn
x/2i $pc
=> 0x23b0 <main+20>: l.addi r4,r0,0
0x23b4 <main+24>: l.sw 0(r3),r4
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw on: get next insn
si
0x000023b4 23 i = 0;
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw on: step in ro region (no error)
maint info breakpoints 0
No breakpoint or watchpoint matching '0'.
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw on: single-step breakpoint is not left behind
p /x $pc
$4 = 0x23b4
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted off: auto-hw on: thread advanced
set breakpoint always-inserted on
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw off: set breakpoint always-inserted on
set breakpoint auto-hw off
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw off: set breakpoint auto-hw off
p /x $pc
$5 = 0x23b4
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw off: get current insn
x/2i $pc
=> 0x23b4 <main+24>: l.sw 0(r3),r4
0x23b8 <main+28>: l.movhi r3,0x0
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw off: get next insn
si
24 i = 0;
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw off: step in ro region (no error)
maint info breakpoints 0
No breakpoint or watchpoint matching '0'.
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw off: single-step breakpoint is not left behind
p /x $pc
$6 = 0x23b8
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw off: thread advanced
set breakpoint always-inserted on
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw on: set breakpoint always-inserted on
set breakpoint auto-hw on
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw on: set breakpoint auto-hw on
p /x $pc
$7 = 0x23b8
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw on: get current insn
x/2i $pc
=> 0x23b8 <main+28>: l.movhi r3,0x0
0x23bc <main+32>: l.ori r3,r3,0x489c
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw on: get next insn
si
0x000023bc 24 i = 0;
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw on: step in ro region (no error)
maint info breakpoints 0
No breakpoint or watchpoint matching '0'.
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw on: single-step breakpoint is not left behind
p /x $pc
$8 = 0x23bc
(gdb) PASS: gdb.base/breakpoint-in-ro-region.exp: always-inserted on: auto-hw on: thread advanced
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-shadow.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-shadow/breakpoint-shadow0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-shadow.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-shadow/breakpoint-shadow0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-shadow.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-shadow/breakpoint-shadow0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-shadow/breakpoint-shadow (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-shadow/breakpoint-shadow0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-shadow/breakpoint-shadow
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-shadow/breakpoint-shadow
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-shadow/breakpoint-shadow...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a00 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a28
Loading section .rodata, size 0x6 lma 0x3a44
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136720 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-shadow.c, line 23.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a00 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a28
Loading section .rodata, size 0x6 lma 0x3a44
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136720 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/breakpoint-shadow/breakpoint-shadow
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-shadow.c:23
23 i = 1; /* break-first */
(gdb) set breakpoint always-inserted on
(gdb) PASS: gdb.base/breakpoint-shadow.exp: set breakpoint always-inserted on
show breakpoint always-inserted
Always inserted breakpoint mode is on.
(gdb) PASS: gdb.base/breakpoint-shadow.exp: show breakpoint always-inserted
disass main
Dump of assembler code for function main:
0x0000239c <+0>: l.sw -4(r1),r2
0x000023a0 <+4>: l.addi r2,r1,0
0x000023a4 <+8>: l.addi r1,r1,-8
=> 0x000023a8 <+12>: l.addi r3,r0,1
0x000023ac <+16>: l.sw -8(r2),r3
0x000023b0 <+20>: l.addi r3,r0,2
0x000023b4 <+24>: l.sw -8(r2),r3
0x000023b8 <+28>: l.addi r3,r0,0
0x000023bc <+32>: l.ori r11,r3,0x0
0x000023c0 <+36>: l.ori r1,r2,0x0
0x000023c4 <+40>: l.lwz r2,-4(r1)
0x000023c8 <+44>: l.jr r9
0x000023cc <+48>: l.nop 0x0
End of assembler dump.
(gdb) PASS: gdb.base/breakpoint-shadow.exp: disassembly without breakpoints
b 23
Note: breakpoint 1 also set at pc 0x23a8.
Breakpoint 2 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-shadow.c, line 23.
(gdb) PASS: gdb.base/breakpoint-shadow.exp: First breakpoint placed
b 24
Breakpoint 3 at 0x23b0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-shadow.c, line 24.
(gdb) PASS: gdb.base/breakpoint-shadow.exp: Second breakpoint placed
disass main
Dump of assembler code for function main:
0x0000239c <+0>: l.sw -4(r1),r2
0x000023a0 <+4>: l.addi r2,r1,0
0x000023a4 <+8>: l.addi r1,r1,-8
=> 0x000023a8 <+12>: l.addi r3,r0,1
0x000023ac <+16>: l.sw -8(r2),r3
0x000023b0 <+20>: l.addi r3,r0,2
0x000023b4 <+24>: l.sw -8(r2),r3
0x000023b8 <+28>: l.addi r3,r0,0
0x000023bc <+32>: l.ori r11,r3,0x0
0x000023c0 <+36>: l.ori r1,r2,0x0
0x000023c4 <+40>: l.lwz r2,-4(r1)
0x000023c8 <+44>: l.jr r9
0x000023cc <+48>: l.nop 0x0
End of assembler dump.
(gdb) PASS: gdb.base/breakpoint-shadow.exp: disassembly with breakpoints
set code-cache off
(gdb) PASS: gdb.base/breakpoint-shadow.exp: set code-cache off
set code-cache on
(gdb) PASS: gdb.base/breakpoint-shadow.exp: set code-cache on
disass main
Dump of assembler code for function main:
0x0000239c <+0>: l.sw -4(r1),r2
0x000023a0 <+4>: l.addi r2,r1,0
0x000023a4 <+8>: l.addi r1,r1,-8
=> 0x000023a8 <+12>: l.addi r3,r0,1
0x000023ac <+16>: l.sw -8(r2),r3
0x000023b0 <+20>: l.addi r3,r0,2
0x000023b4 <+24>: l.sw -8(r2),r3
0x000023b8 <+28>: l.addi r3,r0,0
0x000023bc <+32>: l.ori r11,r3,0x0
0x000023c0 <+36>: l.ori r1,r2,0x0
0x000023c4 <+40>: l.lwz r2,-4(r1)
0x000023c8 <+44>: l.jr r9
0x000023cc <+48>: l.nop 0x0
End of assembler dump.
(gdb) PASS: gdb.base/breakpoint-shadow.exp: disassembly with breakpoints, fresh code cache
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) disass main
Dump of assembler code for function main:
0x0000239c <+0>: l.sw -4(r1),r2
0x000023a0 <+4>: l.addi r2,r1,0
0x000023a4 <+8>: l.addi r1,r1,-8
=> 0x000023a8 <+12>: l.addi r3,r0,1
0x000023ac <+16>: l.sw -8(r2),r3
0x000023b0 <+20>: l.addi r3,r0,2
0x000023b4 <+24>: l.sw -8(r2),r3
0x000023b8 <+28>: l.addi r3,r0,0
0x000023bc <+32>: l.ori r11,r3,0x0
0x000023c0 <+36>: l.ori r1,r2,0x0
0x000023c4 <+40>: l.lwz r2,-4(r1)
0x000023c8 <+44>: l.jr r9
0x000023cc <+48>: l.nop 0x0
End of assembler dump.
(gdb) PASS: gdb.base/breakpoint-shadow.exp: disassembly without breakpoints, no stale breakpoints
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/breakpoint-shadow.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-ar-st/call-ar-st0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-ar-st/call-ar-st0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-ar-st/call-ar-st0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-ar-st/call-ar-st (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-ar-st/call-ar-st0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-ar-st/call-ar-st
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-ar-st/call-ar-st
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-ar-st/call-ar-st...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x138d8 lma 0x2028
Loading section .fini, size 0x1c lma 0x15900
Loading section .rodata, size 0xb4c lma 0x1591c
Loading section .eh_frame, size 0x4 lma 0x18468
Loading section .ctors, size 0x8 lma 0x1846c
Loading section .dtors, size 0x8 lma 0x18474
Loading section .jcr, size 0x4 lma 0x1847c
Loading section .data, size 0xd00 lma 0x18480
Start address 0x100
Transfer rate: 756736 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-ar-st.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-ar-st.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-ar-st.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 917.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x138d8 lma 0x2028
Loading section .fini, size 0x1c lma 0x15900
Loading section .rodata, size 0xb4c lma 0x1591c
Loading section .eh_frame, size 0x4 lma 0x18468
Loading section .ctors, size 0x8 lma 0x1846c
Loading section .dtors, size 0x8 lma 0x18474
Loading section .jcr, size 0x4 lma 0x1847c
Loading section .data, size 0xd00 lma 0x18480
Start address 0x100
Transfer rate: 756736 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-ar-st/call-ar-st
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:917
917 gdb_unbuffer_output ();
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c
Contains 1065 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) tbreak 935
Temporary breakpoint 2: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 935.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak1
continue
Continuing.
Temporary breakpoint 2, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:935
935 for (index = 0; index < 50; index++) { /* -tbreak1- */
(gdb) PASS: gdb.base/call-ar-st.exp: run until breakpoint set at a line
tbreak 942
Temporary breakpoint 3: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 942.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak2
continue
Continuing.
array_c :
=========
Z
aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ
aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ
aZaZaZaZaZaZaZaZaZa
Temporary breakpoint 3, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:942
942 print_double_array(double_array); /* -tbreak2- */
(gdb) tbreak 946
Temporary breakpoint 4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 946.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak3
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
Temporary breakpoint 4, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:946
946 print_all_arrays(integer_array, char_array, float_array, double_array); /* -tbreak3- */
(gdb) step
print_all_arrays (array_i=<integer_array>, array_c=<char_array> "ZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZa", array_f=<float_array>, array_d=<double_array>) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:274
274 print_int_array(array_i); /* -step1- */
(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
275 print_char_array(array_c); /* -next1- */
(gdb) tbreak 962
Temporary breakpoint 5: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 962.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak4
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
Temporary breakpoint 5, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:962
962 printf("BYE BYE FOR NOW\n"); /* -tbreak4- */
(gdb) next
BYE BYE FOR NOW
963 printf("VERY GREEN GRASS\n"); /* -next2- */
(gdb) tbreak 967
Temporary breakpoint 6: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 967.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak5
continue
Continuing.
VERY GREEN GRASS
Temporary breakpoint 6, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:967
967 sum_array_print(10, *list1, *list2, *list3, *list4); /* -tbreak5- */
(gdb) PASS: gdb.base/call-ar-st.exp: continue to tbreak5
break sum_array_print
Breakpoint 7: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 835.
(gdb) PASS: gdb.base/call-ar-st.exp: set breakpoint in sum_array_print
set print frame-arguments all
(gdb) PASS: gdb.base/call-ar-st.exp: set print frame-arguments all
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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:835
835 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 1007
Temporary breakpoint 8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 1007.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak6
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
Temporary breakpoint 8, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:1007
1007 c = 0; /* -tbreak6- */
(gdb) print compute_with_small_structs(20)
warning: Register ppc not updated
warning: Register sr not updated
$1 = void
(gdb) PASS: gdb.base/call-ar-st.exp: print compute_with_small_structs(20)
tbreak 1012
Temporary breakpoint 9: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 1012.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak7
continue
Continuing.
Temporary breakpoint 9, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:1012
1012 print_long_arg_list ( a, b, c, d, e, f, *struct1, *struct2, *struct3, *struct4, /* -tbreak7- */
(gdb) PASS: gdb.base/call-ar-st.exp: continue to tbreak7
tbreak print_long_arg_list
Temporary breakpoint 10: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 743.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreak in print_long_arg_list after stepping into memcpy
continue
Continuing.
Temporary breakpoint 10, 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:743
743 printf("double : %f\n", a); /* -step2- */
(gdb) PASS: gdb.base/call-ar-st.exp: step into print_long_arg_list
tbreak 1026
Temporary breakpoint 11: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 1026.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak8
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
Temporary breakpoint 11, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:1026
1026 init_bit_flags_combo(flags_combo, (unsigned)1, (unsigned)0, 'y', /* -tbreak8- */
(gdb) 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:355
355 bit_flags_combo->alpha = a; /* -step3- */
(gdb) PASS: gdb.base/call-ar-st.exp: step into init_bit_flags_combo
tbreak 1031
Temporary breakpoint 12: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 1031.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak9
continue
Continuing.
Temporary breakpoint 12, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:1031
1031 init_int_char_combo(int_char_combo, 13, '!'); /* -tbreak9- */
(gdb) PASS: gdb.base/call-ar-st.exp: continue to tbreak9
tbreak 1037
Temporary breakpoint 13: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c, line 1037.
(gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint at tbreak10
continue
Continuing.
Temporary breakpoint 13, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.c:1037
1037 compute_with_small_structs(35); /* -tbreak10- */
(gdb) PASS: gdb.base/call-ar-st.exp: continue to tbreak10
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-ar-st.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-rt-st/call-rt-st (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-rt-st/call-rt-st
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-rt-st/call-rt-st
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-rt-st/call-rt-st...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x114cc lma 0x2028
Loading section .fini, size 0x1c lma 0x134f4
Loading section .rodata, size 0x7a0 lma 0x13510
Loading section .eh_frame, size 0x4 lma 0x14000
Loading section .ctors, size 0x8 lma 0x14004
Loading section .dtors, size 0x8 lma 0x1400c
Loading section .jcr, size 0x4 lma 0x14014
Loading section .data, size 0xcf4 lma 0x14018
Start address 0x100
Transfer rate: 675296 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-rt-st.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-rt-st.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-rt-st.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.c, line 551.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x114cc lma 0x2028
Loading section .fini, size 0x1c lma 0x134f4
Loading section .rodata, size 0x7a0 lma 0x13510
Loading section .eh_frame, size 0x4 lma 0x14000
Loading section .ctors, size 0x8 lma 0x14004
Loading section .dtors, size 0x8 lma 0x1400c
Loading section .jcr, size 0x4 lma 0x14014
Loading section .data, size 0xcf4 lma 0x14018
Start address 0x100
Transfer rate: 675296 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-rt-st/call-rt-st
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.c:551
551 int number = 10;
(gdb) break loop_count
Breakpoint 2: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.c, line 130.
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.c:130
130 for (index=0; index<4; index++); /* -break1- */
(gdb) PASS: gdb.base/call-rt-st.exp: continue to loop_count
finish
Run till exit from #0 loop_count () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.c:130
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.c:629
629 return 0; /* -finish1- */
(gdb) PASS: gdb.base/call-rt-st.exp: finish out from loop_count (finish1)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-rt-st.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tc -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tc -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tc
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tc
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tc...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3adc
Loading section .rodata, size 0x6 lma 0x3af8
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138192 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-sc.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-sc.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c, line 58.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3adc
Loading section .rodata, size 0x6 lma 0x3af8
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138192 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tc
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:58
58 Fun(foo);
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Contains 73 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) ptype/r tc
type = char
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tc (char)
ptype/r foo
type = char
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tc char
p/c fun()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 49 '1'
(gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tc
call Fun(foo)
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 L = fun ();
(gdb) next
69 zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tc
backtrace 1
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:69
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 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: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=ts -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ts (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=ts -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ts
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ts
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ts...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3adc
Loading section .rodata, size 0x6 lma 0x3af8
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138192 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-sc.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-sc.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c, line 58.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab4 lma 0x2028
Loading section .fini, size 0x1c lma 0x3adc
Loading section .rodata, size 0x6 lma 0x3af8
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138192 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ts
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:58
58 Fun(foo);
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Contains 73 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) ptype/r ts
type = short int
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-ts (short int)
ptype/r foo
type = short int
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-ts short int
p/c fun()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 49 '1'
(gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-ts
call Fun(foo)
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 L = fun ();
(gdb) next
69 zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-ts
backtrace 1
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:69
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 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: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=ti -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ti (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=ti -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ti
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ti
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ti...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ad8
Loading section .rodata, size 0x6 lma 0x3af4
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138160 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-sc.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-sc.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c, line 58.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ad8
Loading section .rodata, size 0x6 lma 0x3af4
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138160 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-ti
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:58
58 Fun(foo);
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Contains 73 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) ptype/r ti
type = int
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-ti (int)
ptype/r foo
type = int
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-ti int
p/c fun()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 49 '1'
(gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-ti
call Fun(foo)
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 L = fun ();
(gdb) next
69 zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-ti
backtrace 1
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:69
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 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: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tl -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tl (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tl -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tl
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tl
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tl...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ad8
Loading section .rodata, size 0x6 lma 0x3af4
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138160 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-sc.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-sc.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c, line 58.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ad8
Loading section .rodata, size 0x6 lma 0x3af4
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138160 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tl
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:58
58 Fun(foo);
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Contains 73 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) ptype/r tl
type = long int
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tl (long int)
ptype/r foo
type = long int
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tl long int
p/c fun()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 49 '1'
(gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tl
call Fun(foo)
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 L = fun ();
(gdb) next
69 zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tl
backtrace 1
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:69
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 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: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tll -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tll (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tll -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tll
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tll
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tll...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ad8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b00
Loading section .rodata, size 0x6 lma 0x3b1c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x868 lma 0x4018
Start address 0x100
Transfer rate: 138512 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-sc.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-sc.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c, line 58.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ad8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b00
Loading section .rodata, size 0x6 lma 0x3b1c
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x868 lma 0x4018
Start address 0x100
Transfer rate: 138512 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tll
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:58
58 Fun(foo);
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Contains 73 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) ptype/r tll
type = long long int
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tll (long long int)
ptype/r foo
type = long long int
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tll long long int
p/c fun()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 49 '1'
(gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tll
call Fun(foo)
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 L = fun ();
(gdb) next
69 zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tll
backtrace 1
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:69
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 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: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tf -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tf (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tf -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tf
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tf
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tf...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ae0
Loading section .rodata, size 0xa lma 0x3afc
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138256 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-sc.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-sc.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c, line 58.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab8 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ae0
Loading section .rodata, size 0xa lma 0x3afc
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138256 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tf
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:58
58 Fun(foo);
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Contains 73 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) ptype/r tf
type = float
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tf (float)
ptype/r foo
type = float
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tf float
p/c fun()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 49 '1'
(gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tf
call Fun(foo)
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 L = fun ();
(gdb) next
69 zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tf
backtrace 1
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:69
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 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: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=td -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-td (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=td -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-td
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-td
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-td...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ae0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b08
Loading section .rodata, size 0xe lma 0x3b24
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x868 lma 0x4018
Start address 0x100
Transfer rate: 138640 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-sc.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-sc.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c, line 58.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ae0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b08
Loading section .rodata, size 0xe lma 0x3b24
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x868 lma 0x4018
Start address 0x100
Transfer rate: 138640 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-td
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:58
58 Fun(foo);
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Contains 73 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) ptype/r td
type = double
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-td (double)
ptype/r foo
type = double
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-td double
p/c fun()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 49 '1'
(gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-td
call Fun(foo)
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 L = fun ();
(gdb) next
69 zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-td
backtrace 1
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:69
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 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: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tld -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tld (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=tld -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tld
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tld
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tld...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ae0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b08
Loading section .rodata, size 0xe lma 0x3b24
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x868 lma 0x4018
Start address 0x100
Transfer rate: 138640 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-sc.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-sc.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c, line 58.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ae0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3b08
Loading section .rodata, size 0xe lma 0x3b24
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x868 lma 0x4018
Start address 0x100
Transfer rate: 138640 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-tld
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:58
58 Fun(foo);
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Contains 73 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) ptype/r tld
type = long double
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tld (long double)
ptype/r foo
type = long double
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tld long double
p/c fun()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 49 '1'
(gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tld
call Fun(foo)
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 L = fun ();
(gdb) next
69 zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tld
backtrace 1
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:69
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 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: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=te -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-te (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c -DT=te -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-te
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-te
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-te...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ad8
Loading section .rodata, size 0x6 lma 0x3af4
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138160 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-sc.exp: set print address off
set width 0
(gdb) PASS: gdb.base/call-sc.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c, line 58.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1ab0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3ad8
Loading section .rodata, size 0x6 lma 0x3af4
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 138160 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-sc/call-sc-te
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:58
58 Fun(foo);
(gdb) info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/call-sc.c
Contains 73 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) ptype/r te
type = enum {e = 49}
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-te (enum {e = 49})
ptype/r foo
type = enum {e = 49}
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-te enum {e = 49}
p/c fun()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 49 '1'
(gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-te
call Fun(foo)
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 L = fun ();
(gdb) next
69 zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-te
backtrace 1
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:69
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
41 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:41
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.c:68
68 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-sc.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-signal-resume.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-signal-resume.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-strs.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-strs/call-strs0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-strs.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-strs/call-strs0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-strs.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-strs/call-strs0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-strs/call-strs (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-strs/call-strs0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-strs/call-strs
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-strs/call-strs
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-strs/call-strs...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x10014 lma 0x2028
Loading section .fini, size 0x1c lma 0x1203c
Loading section .rodata, size 0x754 lma 0x12058
Loading section .eh_frame, size 0x4 lma 0x147ac
Loading section .ctors, size 0x8 lma 0x147b0
Loading section .dtors, size 0x8 lma 0x147b8
Loading section .jcr, size 0x4 lma 0x147c0
Loading section .data, size 0xcf4 lma 0x147c4
Start address 0x100
Transfer rate: 632256 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/call-strs.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/call-strs.exp: set print address off
set print symbol off
(gdb) PASS: gdb.base/call-strs.exp: set print symbol off
set width 0
(gdb) PASS: gdb.base/call-strs.exp: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-strs.c, line 52.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x10014 lma 0x2028
Loading section .fini, size 0x1c lma 0x1203c
Loading section .rodata, size 0x754 lma 0x12058
Loading section .eh_frame, size 0x4 lma 0x147ac
Loading section .ctors, size 0x8 lma 0x147b0
Loading section .dtors, size 0x8 lma 0x147b8
Loading section .jcr, size 0x4 lma 0x147c0
Loading section .data, size 0xcf4 lma 0x147c4
Start address 0x100
Transfer rate: 632256 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/call-strs/call-strs
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-strs.c:52
52 gdb_unbuffer_output ();
(gdb) next 2
55 strcpy(buf, "test string");
(gdb) PASS: gdb.base/call-strs.exp: step after assignment to s
next
56 str_func("abcd", "efgh", "ijkl", "mnop", "qrst", "uvwx", "yz12");
(gdb) PASS: gdb.base/call-strs.exp: next over strcpy
print buf
$1 = "test string", '\000' <repeats 88 times>
(gdb) PASS: gdb.base/call-strs.exp: print buf
print s
$2 = "test string"
(gdb) PASS: gdb.base/call-strs.exp: print s
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/call-strs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callexit.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callexit.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callexit/callexit (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callexit.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callexit/callexit
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callexit/callexit
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callexit/callexit...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a0c lma 0x2028
Loading section .fini, size 0x1c lma 0x3a34
Loading section .rodata, size 0x6 lma 0x3a50
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136816 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23c4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callexit.c, line 32.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a0c lma 0x2028
Loading section .fini, size 0x1c lma 0x3a34
Loading section .rodata, size 0x6 lma 0x3a50
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x860 lma 0x4018
Start address 0x100
Transfer rate: 136816 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callexit/callexit
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callexit.c:32
32 return 0;
(gdb) call callexit()
[Inferior 1 (process 42000) exited normally]
The program being debugged exited while in a function called from GDB.
Evaluation of the expression containing the function
(callexit) will be abandoned.
(gdb) PASS: gdb.base/callexit.exp: inferior function call terminated program
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callexit.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/complex14348.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/complex14348.x (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/complex14348.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/temp/14348/complex14348.x
Executing on host: or1k-elf-gcc -DTEST_COMPLEX -DPROTOTYPES -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -DTEST_COMPLEX -DPROTOTYPES -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs0.o -DTEST_COMPLEX -DPROTOTYPES -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs0.o -DTEST_COMPLEX -DPROTOTYPES -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xaeb4 lma 0x2028
Loading section .fini, size 0x1c lma 0xcedc
Loading section .rodata, size 0x1ea lma 0xcef8
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 457424 bits in <1 sec.
(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
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xaeb4 lma 0x2028
Loading section .fini, size 0x1c lma 0xcedc
Loading section .rodata, size 0x1ea lma 0xcef8
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 457424 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_structs_c
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: retrieve original register contents
set unwindonsignal on
(gdb) PASS: gdb.base/callfuncs.exp: set unwindonsignal on
p t_char_values(0,0)
warning: Register ppc not updated
warning: Register sr not updated
$1 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_char_values(0,0)
p t_char_values('a','b')
warning: Register ppc not updated
warning: Register sr not updated
$2 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_char_values('a','b')
p t_char_values(char_val1,char_val2)
warning: Register ppc not updated
warning: Register sr not updated
$3 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_char_values(char_val1,char_val2)
p t_char_values('a',char_val2)
warning: Register ppc not updated
warning: Register sr not updated
$4 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_char_values('a',char_val2)
p t_char_values(char_val1,'b')
warning: Register ppc not updated
warning: Register sr not updated
$5 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_char_values(char_val1,'b')
p t_short_values(0,0)
warning: Register ppc not updated
warning: Register sr not updated
$6 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(0,0)
p t_short_values(10,-23)
warning: Register ppc not updated
warning: Register sr not updated
$7 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(10,-23)
p t_short_values(short_val1,short_val2)
warning: Register ppc not updated
warning: Register sr not updated
$8 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(short_val1,short_val2)
p t_short_values(10,short_val2)
warning: Register ppc not updated
warning: Register sr not updated
$9 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(10,short_val2)
p t_short_values(short_val1,-23)
warning: Register ppc not updated
warning: Register sr not updated
$10 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(short_val1,-23)
p t_int_values(0,0)
warning: Register ppc not updated
warning: Register sr not updated
$11 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(0,0)
p t_int_values(87,-26)
warning: Register ppc not updated
warning: Register sr not updated
$12 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(87,-26)
p t_int_values(int_val1,int_val2)
warning: Register ppc not updated
warning: Register sr not updated
$13 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(int_val1,int_val2)
p t_int_values(87,int_val2)
warning: Register ppc not updated
warning: Register sr not updated
$14 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(87,int_val2)
p t_int_values(int_val1,-26)
warning: Register ppc not updated
warning: Register sr not updated
$15 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(int_val1,-26)
p t_long_values(0,0)
warning: Register ppc not updated
warning: Register sr not updated
$16 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(0,0)
p t_long_values(789,-321)
warning: Register ppc not updated
warning: Register sr not updated
$17 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(789,-321)
p t_long_values(long_val1,long_val2)
warning: Register ppc not updated
warning: Register sr not updated
$18 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(long_val1,long_val2)
p t_long_values(789,long_val2)
warning: Register ppc not updated
warning: Register sr not updated
$19 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(789,long_val2)
p t_long_values(long_val1,-321)
warning: Register ppc not updated
warning: Register sr not updated
$20 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(long_val1,-321)
p t_float_values(0.0,0.0)
warning: Register ppc not updated
warning: Register sr not updated
$21 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(0.0,0.0)
p t_float_values(3.14159,-2.3765)
warning: Register ppc not updated
warning: Register sr not updated
$22 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(3.14159,-2.3765)
p t_float_values(float_val1,float_val2)
warning: Register ppc not updated
warning: Register sr not updated
$23 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(float_val1,float_val2)
p t_float_values(3.14159,float_val2)
warning: Register ppc not updated
warning: Register sr not updated
$24 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(3.14159,float_val2)
p t_float_values(float_val1,-2.3765)
warning: Register ppc not updated
warning: Register sr not updated
$25 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(float_val1,-2.3765)
p t_float_values2(0.0,0.0)
warning: Register ppc not updated
warning: Register sr not updated
$26 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_values2(0.0,0.0)
p t_float_values2(3.14159,float_val2)
warning: Register ppc not updated
warning: Register sr not updated
$27 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_values2(3.14159,float_val2)
p t_float_many_args (float_val1, float_val2, float_val3, float_val4, float_val5, float_val6, float_val7, float_val8, float_val9, float_val10, float_val11, float_val12, float_val13, float_val14, float_val15)
warning: Register ppc not updated
warning: Register sr not updated
$28 = 1
(gdb) PASS: gdb.base/callfuncs.exp: Call function with many float arguments.
p t_small_values(1,2,3,4,5,6,7,8,9,10)
warning: Register ppc not updated
warning: Register sr not updated
$29 = 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)
warning: Register ppc not updated
warning: Register sr not updated
$30 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(0.0,0.0)
p t_double_values(45.654,-67.66)
warning: Register ppc not updated
warning: Register sr not updated
$31 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(45.654,-67.66)
p t_double_values(double_val1,double_val2)
warning: Register ppc not updated
warning: Register sr not updated
$32 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(double_val1,double_val2)
p t_double_values(45.654,double_val2)
warning: Register ppc not updated
warning: Register sr not updated
$33 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(45.654,double_val2)
p t_double_values(double_val1,-67.66)
warning: Register ppc not updated
warning: Register sr not updated
$34 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(double_val1,-67.66)
p t_double_many_args (double_val1, double_val2, double_val3, double_val4, double_val5, double_val6, double_val7, double_val8, double_val9, double_val10, double_val11, double_val12, double_val13, double_val14, double_val15)
warning: Register ppc not updated
warning: Register sr not updated
$35 = 1
(gdb) PASS: gdb.base/callfuncs.exp: Call function with many double arguments.
p t_double_int(99.0, 1)
warning: Register ppc not updated
warning: Register sr not updated
$36 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_double_int(99.0, 1)
p t_double_int(99.0, 99)
warning: Register ppc not updated
warning: Register sr not updated
$37 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_double_int(99.0, 99)
p t_int_double(99, 1.0)
warning: Register ppc not updated
warning: Register sr not updated
$38 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_int_double(99, 1.0)
p t_int_double(99, 99.0)
warning: Register ppc not updated
warning: Register sr not updated
$39 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_int_double(99, 99.0)
p t_float_complex_values(fc1, fc2)
warning: Register ppc not updated
warning: Register sr not updated
$40 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_complex_values(fc1, fc2)
p t_float_complex_values(fc3, fc4)
warning: Register ppc not updated
warning: Register sr not updated
$41 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_complex_values(fc3, fc4)
p t_float_complex_many_args(fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4)
warning: Register ppc not updated
warning: Register sr not updated
$42 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_complex_many_args(fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4)
p t_float_complex_many_args(fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1)
warning: Register ppc not updated
warning: Register sr not updated
$43 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_float_complex_many_args(fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1)
p t_double_complex_values(dc1, dc2)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: p t_double_complex_values(dc1, dc2)
p t_double_complex_values(dc3, dc4)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: p t_double_complex_values(dc3, dc4)
p t_double_complex_many_args(dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: p t_double_complex_many_args(dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4)
p t_double_complex_many_args(dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: p t_double_complex_many_args(dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1)
p t_long_double_complex_values(ldc1, ldc2)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_values(ldc1, ldc2)
p t_long_double_complex_values(ldc3, ldc4)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_values(ldc3, ldc4)
p t_long_double_complex_many_args(ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_many_args(ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4)
p t_long_double_complex_many_args(ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1,ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_many_args(ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1,ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1)
p t_string_values(string_val2,string_val1)
warning: Register ppc not updated
warning: Register sr not updated
$44 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val2,string_val1)
p t_string_values(string_val1,string_val2)
warning: Register ppc not updated
warning: Register sr not updated
$45 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val1,string_val2)
p t_string_values("string 1","string 2")
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$46 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_string_values("string 1","string 2")
p t_string_values("string 1",string_val2)
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$47 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_string_values("string 1",string_val2)
p t_string_values(string_val1,"string 2")
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$48 = 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)
warning: Register ppc not updated
warning: Register sr not updated
$49 = 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)
warning: Register ppc not updated
warning: Register sr not updated
$50 = 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")
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$51 = 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)
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$52 = 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")
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$53 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values(char_array_val1,"carray 2")
p doubleit(4)
warning: Register ppc not updated
warning: Register sr not updated
$54 = 8
(gdb) PASS: gdb.base/callfuncs.exp: p doubleit(4)
p add(4,5)
warning: Register ppc not updated
warning: Register sr not updated
$55 = 9
(gdb) PASS: gdb.base/callfuncs.exp: p add(4,5)
p t_func_values(func_val2,func_val1)
warning: Register ppc not updated
warning: Register sr not updated
$56 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(func_val2,func_val1)
p t_func_values(func_val1,func_val2)
warning: Register ppc not updated
warning: Register sr not updated
$57 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(func_val1,func_val2)
p function_struct.func(5)
warning: Register ppc not updated
warning: Register sr not updated
$58 = 10
(gdb) PASS: gdb.base/callfuncs.exp: p function_struct.func(5)
p function_struct_ptr->func(10)
warning: Register ppc not updated
warning: Register sr not updated
$59 = 20
(gdb) PASS: gdb.base/callfuncs.exp: p function_struct_ptr->func(10)
p t_func_values(add,func_val2)
warning: Register ppc not updated
warning: Register sr not updated
$60 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(add,func_val2)
p t_func_values(func_val1,doubleit)
warning: Register ppc not updated
warning: Register sr not updated
$61 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(func_val1,doubleit)
p t_call_add(add,3,4)
warning: Register ppc not updated
warning: Register sr not updated
$62 = 7
(gdb) PASS: gdb.base/callfuncs.exp: p t_call_add(add,3,4)
p t_call_add(func_val1,3,4)
warning: Register ppc not updated
warning: Register sr not updated
$63 = 7
(gdb) PASS: gdb.base/callfuncs.exp: p t_call_add(func_val1,3,4)
p t_enum_value1(enumval1)
warning: Register ppc not updated
warning: Register sr not updated
$64 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value1(enumval1)
p t_enum_value1(enum_val1)
warning: Register ppc not updated
warning: Register sr not updated
$65 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value1(enum_val1)
p t_enum_value1(enum_val2)
warning: Register ppc not updated
warning: Register sr not updated
$66 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value1(enum_val2)
p t_enum_value2(enumval2)
warning: Register ppc not updated
warning: Register sr not updated
$67 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value2(enumval2)
p t_enum_value2(enum_val2)
warning: Register ppc not updated
warning: Register sr not updated
$68 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value2(enum_val2)
p t_enum_value2(enum_val1)
warning: Register ppc not updated
warning: Register sr not updated
$69 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value2(enum_val1)
p sum_args(1,{2})
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$70 = 2
(gdb) PASS: gdb.base/callfuncs.exp: p sum_args(1,{2})
p sum_args(2,{2,3})
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$71 = 5
(gdb) PASS: gdb.base/callfuncs.exp: p sum_args(2,{2,3})
p sum_args(3,{2,3,4})
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$72 = 9
(gdb) PASS: gdb.base/callfuncs.exp: p sum_args(3,{2,3,4})
p sum_args(4,{2,3,4,5})
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$73 = 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)
warning: Register ppc not updated
warning: Register sr not updated
$74 = 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)
warning: Register ppc not updated
warning: Register sr not updated
$75 = 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)
warning: Register ppc not updated
warning: Register sr not updated
$76 = 120 'x'
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns char
p t_structs_s(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$77 = 87
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns short
p t_structs_i(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$78 = 76
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns int
p t_structs_l(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$79 = 51
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns long
p t_structs_f(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$80 = 2.12339997
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns float
p t_structs_d(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$81 = 9.8759999999999994
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns double
p t_structs_fc(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$82 = 3 + 3 * I
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns float _Complex
p t_structs_dc(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$83 = 0 + 0 * I
(gdb) FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns double _Complex
p t_structs_ldc(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$84 = 0 + 0 * I
(gdb) FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns long double _Complex
p t_structs_a(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$85 = <buf> "foo"
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns char *
set unwindonsignal off
(gdb) PASS: gdb.base/callfuncs.exp: set unwindonsignal off
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: register contents after gdb function calls
PASS: gdb.base/callfuncs.exp: gdb function calls preserve register contents
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 2: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xaeb4 lma 0x2028
Loading section .fini, size 0x1c lma 0xcedc
Loading section .rodata, size 0x1ea lma 0xcef8
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 457424 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 2, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_structs_c
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: retrieve original register contents
break add
Breakpoint 3: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 132.
(gdb) print add(4,5)
Breakpoint 3, add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: stop at breakpoint in call dummy function
continue
Continuing.
warning: Register ppc not updated
warning: Register sr not updated
(gdb) PASS: gdb.base/callfuncs.exp: continue from call dummy breakpoint
bt 2
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: bt after continuing from call dummy breakpoint
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: register contents after stop in call dummy
PASS: gdb.base/callfuncs.exp: continue after stop in call dummy preserves register contents
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xaeb4 lma 0x2028
Loading section .fini, size 0x1c lma 0xcedc
Loading section .rodata, size 0x1ea lma 0xcef8
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 457424 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 4, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_structs_c
break add
Breakpoint 5: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 132.
(gdb) info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: retrieve original register contents
print add(4,5)
Breakpoint 5, add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
649 t_structs_c(struct_val1);
Value returned is $86 = 9
(gdb) PASS: gdb.base/callfuncs.exp: finish from call dummy breakpoint returns correct value
bt 2
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: bt after finishing from call dummy breakpoint
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: register contents after finish in call dummy
PASS: gdb.base/callfuncs.exp: finish after stop in call dummy preserves register contents
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 6: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xaeb4 lma 0x2028
Loading section .fini, size 0x1c lma 0xcedc
Loading section .rodata, size 0x1ea lma 0xcef8
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 457424 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 6, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_structs_c
break add
Breakpoint 7: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 132.
(gdb) info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: retrieve original register contents
print add(4,5)
Breakpoint 7, add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: back at main after return from call dummy breakpoint
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: register contents after return in call dummy
PASS: gdb.base/callfuncs.exp: return after stop in call dummy preserves register contents
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xaeb4 lma 0x2028
Loading section .fini, size 0x1c lma 0xcedc
Loading section .rodata, size 0x1ea lma 0xcef8
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 457424 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 8, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: next to t_structs_c
break add
Breakpoint 9: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 132.
(gdb) info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: retrieve original register contents
break sum10
Breakpoint 10: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 251.
(gdb) break t_small_values
Breakpoint 11: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 301.
(gdb) print add(2,3)
Breakpoint 9, add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: stop at nested call level 1
backtrace
#0 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#1 <function called from gdb>
#2 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: backtrace at nested call level 1
print add(4,5)
Breakpoint 9, add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: stop at nested call level 2
backtrace
#0 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#1 <function called from gdb>
#2 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#3 <function called from gdb>
#4 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(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 10, sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
251 return i0 + i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9;
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(sum10) will be abandoned.
When the function is done executing, GDB will silently stop.
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
#1 <function called from gdb>
#2 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#3 <function called from gdb>
#4 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#5 <function called from gdb>
#6 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(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 11, 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:301
301 return arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10;
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(t_small_values) will be abandoned.
When the function is done executing, GDB will silently stop.
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:301
#1 <function called from gdb>
#2 sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
#3 <function called from gdb>
#4 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#5 <function called from gdb>
#6 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#7 <function called from gdb>
#8 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:301
sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
251 return i0 + i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9;
Value returned is $87 = 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
#1 <function called from gdb>
#2 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#3 <function called from gdb>
#4 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#5 <function called from gdb>
#6 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
Value returned is $88 = 110
(gdb) PASS: gdb.base/callfuncs.exp: Finish from nested call level 3
backtrace
#0 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#1 <function called from gdb>
#2 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#3 <function called from gdb>
#4 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
Value returned is $89 = 9
(gdb) PASS: gdb.base/callfuncs.exp: Finish from nested call level 2
backtrace
#0 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#1 <function called from gdb>
#2 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
649 t_structs_c(struct_val1);
Value returned is $90 = 5
(gdb) PASS: gdb.base/callfuncs.exp: Finish from nested call level 1
backtrace
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: backtrace after finish from nested call level 1
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7634 30260
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7634 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: register contents after nested call dummies
PASS: gdb.base/callfuncs.exp: nested call dummies preserve register contents
print callfunc (Lcallfunc, 5)
warning: Register ppc not updated
warning: Register sr not updated
$91 = 12
(gdb) PASS: gdb.base/callfuncs.exp: print callfunc (Lcallfunc, 5)
print *((int *(*) (void)) voidfunc)()
warning: Register ppc not updated
warning: Register sr not updated
$92 = 23
(gdb) PASS: gdb.base/callfuncs.exp: print *((int *(*) (void)) voidfunc)()
Executing on host: or1k-elf-gcc -DTEST_COMPLEX -DNO_PROTOTYPES -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -DTEST_COMPLEX -DNO_PROTOTYPES -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs0.o -DTEST_COMPLEX -DNO_PROTOTYPES -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs0.o -DTEST_COMPLEX -DNO_PROTOTYPES -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xb0f4 lma 0x2028
Loading section .fini, size 0x1c lma 0xd11c
Loading section .rodata, size 0x1ea lma 0xd138
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 462032 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set print address off
set width 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set width 0
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xb0f4 lma 0x2028
Loading section .fini, size 0x1c lma 0xd11c
Loading section .rodata, size 0x1ea lma 0xd138
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 462032 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_structs_c
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: retrieve original register contents
set unwindonsignal on
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set unwindonsignal on
p t_char_values(0,0)
warning: Register ppc not updated
warning: Register sr not updated
$1 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_values(0,0)
p t_char_values('a','b')
warning: Register ppc not updated
warning: Register sr not updated
$2 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_values('a','b')
p t_char_values(char_val1,char_val2)
warning: Register ppc not updated
warning: Register sr not updated
$3 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_values(char_val1,char_val2)
p t_char_values('a',char_val2)
warning: Register ppc not updated
warning: Register sr not updated
$4 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_values('a',char_val2)
p t_char_values(char_val1,'b')
warning: Register ppc not updated
warning: Register sr not updated
$5 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_values(char_val1,'b')
p t_short_values(0,0)
warning: Register ppc not updated
warning: Register sr not updated
$6 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_short_values(0,0)
p t_short_values(10,-23)
warning: Register ppc not updated
warning: Register sr not updated
$7 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_short_values(10,-23)
p t_short_values(short_val1,short_val2)
warning: Register ppc not updated
warning: Register sr not updated
$8 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_short_values(short_val1,short_val2)
p t_short_values(10,short_val2)
warning: Register ppc not updated
warning: Register sr not updated
$9 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_short_values(10,short_val2)
p t_short_values(short_val1,-23)
warning: Register ppc not updated
warning: Register sr not updated
$10 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_short_values(short_val1,-23)
p t_int_values(0,0)
warning: Register ppc not updated
warning: Register sr not updated
$11 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_int_values(0,0)
p t_int_values(87,-26)
warning: Register ppc not updated
warning: Register sr not updated
$12 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_int_values(87,-26)
p t_int_values(int_val1,int_val2)
warning: Register ppc not updated
warning: Register sr not updated
$13 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_int_values(int_val1,int_val2)
p t_int_values(87,int_val2)
warning: Register ppc not updated
warning: Register sr not updated
$14 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_int_values(87,int_val2)
p t_int_values(int_val1,-26)
warning: Register ppc not updated
warning: Register sr not updated
$15 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_int_values(int_val1,-26)
p t_long_values(0,0)
warning: Register ppc not updated
warning: Register sr not updated
$16 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_long_values(0,0)
p t_long_values(789,-321)
warning: Register ppc not updated
warning: Register sr not updated
$17 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_long_values(789,-321)
p t_long_values(long_val1,long_val2)
warning: Register ppc not updated
warning: Register sr not updated
$18 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_long_values(long_val1,long_val2)
p t_long_values(789,long_val2)
warning: Register ppc not updated
warning: Register sr not updated
$19 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_long_values(789,long_val2)
p t_long_values(long_val1,-321)
warning: Register ppc not updated
warning: Register sr not updated
$20 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_long_values(long_val1,-321)
p t_float_values(0.0,0.0)
warning: Register ppc not updated
warning: Register sr not updated
$21 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_values(0.0,0.0)
p t_float_values(3.14159,-2.3765)
warning: Register ppc not updated
warning: Register sr not updated
$22 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_values(3.14159,-2.3765)
p t_float_values(float_val1,float_val2)
warning: Register ppc not updated
warning: Register sr not updated
$23 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_values(float_val1,float_val2)
p t_float_values(3.14159,float_val2)
warning: Register ppc not updated
warning: Register sr not updated
$24 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_values(3.14159,float_val2)
p t_float_values(float_val1,-2.3765)
warning: Register ppc not updated
warning: Register sr not updated
$25 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_values(float_val1,-2.3765)
p t_float_values2(0.0,0.0)
warning: Register ppc not updated
warning: Register sr not updated
$26 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_values2(0.0,0.0)
p t_float_values2(3.14159,float_val2)
warning: Register ppc not updated
warning: Register sr not updated
$27 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_values2(3.14159,float_val2)
p t_float_many_args (float_val1, float_val2, float_val3, float_val4, float_val5, float_val6, float_val7, float_val8, float_val9, float_val10, float_val11, float_val12, float_val13, float_val14, float_val15)
warning: Register ppc not updated
warning: Register sr not updated
$28 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: Call function with many float arguments.
p t_small_values(1,2,3,4,5,6,7,8,9,10)
warning: Register ppc not updated
warning: Register sr not updated
$29 = 55
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_small_values(1,2,3,4,5,6,7,8,9,10)
p t_double_values(0.0,0.0)
warning: Register ppc not updated
warning: Register sr not updated
$30 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_double_values(0.0,0.0)
p t_double_values(45.654,-67.66)
warning: Register ppc not updated
warning: Register sr not updated
$31 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_double_values(45.654,-67.66)
p t_double_values(double_val1,double_val2)
warning: Register ppc not updated
warning: Register sr not updated
$32 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_double_values(double_val1,double_val2)
p t_double_values(45.654,double_val2)
warning: Register ppc not updated
warning: Register sr not updated
$33 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_double_values(45.654,double_val2)
p t_double_values(double_val1,-67.66)
warning: Register ppc not updated
warning: Register sr not updated
$34 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_double_values(double_val1,-67.66)
p t_double_many_args (double_val1, double_val2, double_val3, double_val4, double_val5, double_val6, double_val7, double_val8, double_val9, double_val10, double_val11, double_val12, double_val13, double_val14, double_val15)
warning: Register ppc not updated
warning: Register sr not updated
$35 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: Call function with many double arguments.
p t_double_int(99.0, 1)
warning: Register ppc not updated
warning: Register sr not updated
$36 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_double_int(99.0, 1)
p t_double_int(99.0, 99)
warning: Register ppc not updated
warning: Register sr not updated
$37 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_double_int(99.0, 99)
p t_int_double(99, 1.0)
warning: Register ppc not updated
warning: Register sr not updated
$38 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_int_double(99, 1.0)
p t_int_double(99, 99.0)
warning: Register ppc not updated
warning: Register sr not updated
$39 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_int_double(99, 99.0)
p t_float_complex_values(fc1, fc2)
warning: Register ppc not updated
warning: Register sr not updated
$40 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_complex_values(fc1, fc2)
p t_float_complex_values(fc3, fc4)
warning: Register ppc not updated
warning: Register sr not updated
$41 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_complex_values(fc3, fc4)
p t_float_complex_many_args(fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4)
warning: Register ppc not updated
warning: Register sr not updated
$42 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_complex_many_args(fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4)
p t_float_complex_many_args(fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1)
warning: Register ppc not updated
warning: Register sr not updated
$43 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_float_complex_many_args(fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1, fc1)
p t_double_complex_values(dc1, dc2)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: p t_double_complex_values(dc1, dc2)
p t_double_complex_values(dc3, dc4)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: p t_double_complex_values(dc3, dc4)
p t_double_complex_many_args(dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: p t_double_complex_many_args(dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4)
p t_double_complex_many_args(dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: p t_double_complex_many_args(dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1)
p t_long_double_complex_values(ldc1, ldc2)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: p t_long_double_complex_values(ldc1, ldc2)
p t_long_double_complex_values(ldc3, ldc4)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: p t_long_double_complex_values(ldc3, ldc4)
p t_long_double_complex_many_args(ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: p t_long_double_complex_many_args(ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4)
p t_long_double_complex_many_args(ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1,ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: p t_long_double_complex_many_args(ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1,ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1)
p t_string_values(string_val2,string_val1)
warning: Register ppc not updated
warning: Register sr not updated
$44 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_string_values(string_val2,string_val1)
p t_string_values(string_val1,string_val2)
warning: Register ppc not updated
warning: Register sr not updated
$45 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_string_values(string_val1,string_val2)
p t_string_values("string 1","string 2")
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$46 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_string_values("string 1","string 2")
p t_string_values("string 1",string_val2)
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$47 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_string_values("string 1",string_val2)
p t_string_values(string_val1,"string 2")
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$48 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_string_values(string_val1,"string 2")
p t_char_array_values(char_array_val2,char_array_val1)
warning: Register ppc not updated
warning: Register sr not updated
$49 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_array_values(char_array_val2,char_array_val1)
p t_char_array_values(char_array_val1,char_array_val2)
warning: Register ppc not updated
warning: Register sr not updated
$50 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_array_values(char_array_val1,char_array_val2)
p t_char_array_values("carray 1","carray 2")
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$51 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_array_values("carray 1","carray 2")
p t_char_array_values("carray 1",char_array_val2)
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$52 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_array_values("carray 1",char_array_val2)
p t_char_array_values(char_array_val1,"carray 2")
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$53 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_char_array_values(char_array_val1,"carray 2")
p doubleit(4)
warning: Register ppc not updated
warning: Register sr not updated
$54 = 8
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p doubleit(4)
p add(4,5)
warning: Register ppc not updated
warning: Register sr not updated
$55 = 9
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p add(4,5)
p t_func_values(func_val2,func_val1)
warning: Register ppc not updated
warning: Register sr not updated
$56 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_func_values(func_val2,func_val1)
p t_func_values(func_val1,func_val2)
warning: Register ppc not updated
warning: Register sr not updated
$57 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_func_values(func_val1,func_val2)
p function_struct.func(5)
warning: Register ppc not updated
warning: Register sr not updated
$58 = 10
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p function_struct.func(5)
p function_struct_ptr->func(10)
warning: Register ppc not updated
warning: Register sr not updated
$59 = 20
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p function_struct_ptr->func(10)
p t_func_values(add,func_val2)
warning: Register ppc not updated
warning: Register sr not updated
$60 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_func_values(add,func_val2)
p t_func_values(func_val1,doubleit)
warning: Register ppc not updated
warning: Register sr not updated
$61 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_func_values(func_val1,doubleit)
p t_call_add(add,3,4)
warning: Register ppc not updated
warning: Register sr not updated
$62 = 7
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_call_add(add,3,4)
p t_call_add(func_val1,3,4)
warning: Register ppc not updated
warning: Register sr not updated
$63 = 7
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_call_add(func_val1,3,4)
p t_enum_value1(enumval1)
warning: Register ppc not updated
warning: Register sr not updated
$64 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_enum_value1(enumval1)
p t_enum_value1(enum_val1)
warning: Register ppc not updated
warning: Register sr not updated
$65 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_enum_value1(enum_val1)
p t_enum_value1(enum_val2)
warning: Register ppc not updated
warning: Register sr not updated
$66 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_enum_value1(enum_val2)
p t_enum_value2(enumval2)
warning: Register ppc not updated
warning: Register sr not updated
$67 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_enum_value2(enumval2)
p t_enum_value2(enum_val2)
warning: Register ppc not updated
warning: Register sr not updated
$68 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_enum_value2(enum_val2)
p t_enum_value2(enum_val1)
warning: Register ppc not updated
warning: Register sr not updated
$69 = 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_enum_value2(enum_val1)
p sum_args(1,{2})
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$70 = 2
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p sum_args(1,{2})
p sum_args(2,{2,3})
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$71 = 5
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p sum_args(2,{2,3})
p sum_args(3,{2,3,4})
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$72 = 9
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p sum_args(3,{2,3,4})
p sum_args(4,{2,3,4,5})
warning: Register ppc not updated
warning: Register sr not updated
warning: Register ppc not updated
warning: Register sr not updated
$73 = 14
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p sum_args(4,{2,3,4,5})
p sum10 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
warning: Register ppc not updated
warning: Register sr not updated
$74 = 55
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p sum10 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
p cmp10 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
warning: Register ppc not updated
warning: Register sr not updated
$75 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p cmp10 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
p t_structs_c(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$76 = 120 'x'
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns char
p t_structs_s(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$77 = 87
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns short
p t_structs_i(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$78 = 76
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns int
p t_structs_l(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$79 = 51
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns long
p t_structs_f(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$80 = 2.12339997
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns float
p t_structs_d(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$81 = 9.8759999999999994
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns double
p t_structs_fc(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$82 = 3 + 3 * I
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns float _Complex
p t_structs_dc(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$83 = 0 + 0 * I
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns double _Complex
p t_structs_ldc(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$84 = 0 + 0 * I
(gdb) FAIL: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns long double _Complex
p t_structs_a(struct_val1)
warning: Register ppc not updated
warning: Register sr not updated
$85 = <buf> "foo"
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns char *
set unwindonsignal off
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set unwindonsignal off
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: register contents after gdb function calls
PASS: gdb.base/callfuncs.exp: noproto: gdb function calls preserve register contents
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 2: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xb0f4 lma 0x2028
Loading section .fini, size 0x1c lma 0xd11c
Loading section .rodata, size 0x1ea lma 0xd138
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 462032 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 2, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_structs_c
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: retrieve original register contents
break add
Breakpoint 3: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 132.
(gdb) print add(4,5)
Breakpoint 3, add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: noproto: stop at breakpoint in call dummy function
continue
Continuing.
warning: Register ppc not updated
warning: Register sr not updated
(gdb) PASS: gdb.base/callfuncs.exp: noproto: continue from call dummy breakpoint
bt 2
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: bt after continuing from call dummy breakpoint
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: register contents after stop in call dummy
PASS: gdb.base/callfuncs.exp: noproto: continue after stop in call dummy preserves register contents
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xb0f4 lma 0x2028
Loading section .fini, size 0x1c lma 0xd11c
Loading section .rodata, size 0x1ea lma 0xd138
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 462032 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 4, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_structs_c
break add
Breakpoint 5: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 132.
(gdb) info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: retrieve original register contents
print add(4,5)
Breakpoint 5, add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call function causing a breakpoint then do a finish
finish
Run till exit from #0 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
649 t_structs_c(struct_val1);
Value returned is $86 = 9
(gdb) PASS: gdb.base/callfuncs.exp: noproto: finish from call dummy breakpoint returns correct value
bt 2
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: bt after finishing from call dummy breakpoint
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: register contents after finish in call dummy
PASS: gdb.base/callfuncs.exp: noproto: finish after stop in call dummy preserves register contents
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 6: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xb0f4 lma 0x2028
Loading section .fini, size 0x1c lma 0xd11c
Loading section .rodata, size 0x1ea lma 0xd138
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 462032 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 6, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_structs_c
break add
Breakpoint 7: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 132.
(gdb) info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: retrieve original register contents
print add(4,5)
Breakpoint 7, add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call function causing a breakpoint and then do a return
return 7
Make add return now? (y or n) y
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: back at main after return from call dummy breakpoint
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: register contents after return in call dummy
PASS: gdb.base/callfuncs.exp: noproto: return after stop in call dummy preserves register contents
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 647.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xb0f4 lma 0x2028
Loading section .fini, size 0x1c lma 0xd11c
Loading section .rodata, size 0x1ea lma 0xd138
Loading section .eh_frame, size 0x4 lma 0xe000
Loading section .ctors, size 0x8 lma 0xe004
Loading section .dtors, size 0x8 lma 0xe00c
Loading section .jcr, size 0x4 lma 0xe014
Loading section .data, size 0xe60 lma 0xe018
Start address 0x100
Transfer rate: 462032 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/callfuncs/callfuncs
Breakpoint 8, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:647
647 void *p = malloc (1);
(gdb) set language c
(gdb) PASS: gdb.base/callfuncs.exp: noproto: set language c
info source
Current source file is /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Located in /home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c
Contains 664 lines.
Source language is c.
Producer is GNU C11 5.3.0 -mnewlib -mboard=or1ksim -mnewlib -g.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) next
648 t_double_values(double_val1, double_val2);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_double_values
next
649 t_structs_c(struct_val1);
(gdb) PASS: gdb.base/callfuncs.exp: noproto: next to t_structs_c
break add
Breakpoint 9: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 132.
(gdb) info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: retrieve original register contents
break sum10
Breakpoint 10: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 251.
(gdb) break t_small_values
Breakpoint 11: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c, line 301.
(gdb) print add(2,3)
Breakpoint 9, add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: noproto: stop at nested call level 1
backtrace
#0 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#1 <function called from gdb>
#2 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: backtrace at nested call level 1
print add(4,5)
Breakpoint 9, add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(add) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: noproto: stop at nested call level 2
backtrace
#0 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#1 <function called from gdb>
#2 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#3 <function called from gdb>
#4 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: backtrace at nested call level 2
print sum10(2,4,6,8,10,12,14,16,18,20)
Breakpoint 10, sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
251 return i0 + i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9;
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(sum10) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: noproto: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
#1 <function called from gdb>
#2 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#3 <function called from gdb>
#4 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#5 <function called from gdb>
#6 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: backtrace at nested call level 3
print t_small_values(1,3,5,7,9,11,13,15,17,19)
Breakpoint 11, 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:301
301 return arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10;
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(t_small_values) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.base/callfuncs.exp: noproto: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:301
#1 <function called from gdb>
#2 sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
#3 <function called from gdb>
#4 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#5 <function called from gdb>
#6 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#7 <function called from gdb>
#8 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:301
sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
251 return i0 + i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9;
Value returned is $87 = 100
(gdb) PASS: gdb.base/callfuncs.exp: noproto: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
#1 <function called from gdb>
#2 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#3 <function called from gdb>
#4 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#5 <function called from gdb>
#6 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:251
add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
Value returned is $88 = 110
(gdb) PASS: gdb.base/callfuncs.exp: noproto: Finish from nested call level 3
backtrace
#0 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#1 <function called from gdb>
#2 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#3 <function called from gdb>
#4 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: backtrace after finish from nested call level 3
finish
Run till exit from #0 add (a=4, b=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
132 return (a + b);
Value returned is $89 = 9
(gdb) PASS: gdb.base/callfuncs.exp: noproto: Finish from nested call level 2
backtrace
#0 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
#1 <function called from gdb>
#2 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: backtrace after finish from nested call level 2
finish
Run till exit from #0 add (a=2, b=3) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:132
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
649 t_structs_c(struct_val1);
Value returned is $90 = 5
(gdb) PASS: gdb.base/callfuncs.exp: noproto: Finish from nested call level 1
backtrace
#0 main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.c:649
(gdb) PASS: gdb.base/callfuncs.exp: noproto: backtrace after finish from nested call level 1
info all-registers
r0 0x0 0
r1 0x7fdfb0
r2 0x7fe000
r3 0x1 1
r4 0x0 0
r5 0x1 1
r6 0xd2f1a9fc 3539053052
r7 0x0 0
r8 0x1 1
r9 0x7874 30836
r10 0x0 0
r11 0x1 1
r12 0x0 0
r13 0x624d 25165
r14 0x0 0
r15 0x0 0
r16 0x0 0
r17 0x420 1056
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 0x0 0
r27 0x0 0
r28 0x0 0
r29 0x0 0
r30 0x0 0
r31 0x0 0
ppc 0x0
npc 0x7874 <main+76>
sr 0x0 0
(gdb) PASS: gdb.base/callfuncs.exp: noproto: register contents after nested call dummies
PASS: gdb.base/callfuncs.exp: noproto: nested call dummies preserve register contents
print callfunc (Lcallfunc, 5)
warning: Register ppc not updated
warning: Register sr not updated
$91 = 12
(gdb) PASS: gdb.base/callfuncs.exp: noproto: print callfunc (Lcallfunc, 5)
print *((int *(*) (void)) voidfunc)()
warning: Register ppc not updated
warning: Register sr not updated
$92 = 23
(gdb) PASS: gdb.base/callfuncs.exp: noproto: print *((int *(*) (void)) voidfunc)()
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/callfuncs.exp completed in 2 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.exp ...
Executing on host: or1k-elf-gcc -DFORK=fork -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-fork-kill/catch-fork-kill-fork0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -DFORK=fork -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-fork-kill/catch-fork-kill-fork0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-fork-kill/catch-fork-kill-fork0.o -DFORK=fork -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-fork-kill/catch-fork-kill-fork (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-fork-kill/catch-fork-kill-fork0.o -DFORK=fork -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-fork-kill/catch-fork-kill-fork
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-fork-kill/catch-fork-kill-fork0.o: In function `main':
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c:46: undefined reference to `alarm'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c:51: undefined reference to `pipe'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c:76: undefined reference to `sleep'
/opt/shorne/software/or1k/lib/gcc/or1k-elf/5.3.0/../../../../or1k-elf/lib/libg.a(lib_a-syswait.o): In function `wait':
/home/shorne/work/openrisc/build-newlib/or1k-elf/newlib/libc/syscalls/../../../../../newlib/newlib/libc/syscalls/syswait.c:10: undefined reference to `_wait_r'
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-fork-kill/catch-fork-kill-fork0.o: In function `main':
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c:46: undefined reference to `alarm'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c:51: undefined reference to `pipe'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c:76: undefined reference to `sleep'
/opt/shorne/software/or1k/lib/gcc/or1k-elf/5.3.0/../../../../or1k-elf/lib/libg.a(lib_a-syswait.o): In function `wait':
/home/shorne/work/openrisc/build-newlib/or1k-elf/newlib/libc/syscalls/../../../../../newlib/newlib/libc/syscalls/syswait.c:10: undefined reference to `_wait_r'
collect2: error: ld returned 1 exit status
gdb compile failed, /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-fork-kill/catch-fork-kill-fork0.o: In function `main':
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c:46: undefined reference to `alarm'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c:51: undefined reference to `pipe'
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.c:76: undefined reference to `sleep'
/opt/shorne/software/or1k/lib/gcc/or1k-elf/5.3.0/../../../../or1k-elf/lib/libg.a(lib_a-syswait.o): In function `wait':
/home/shorne/work/openrisc/build-newlib/or1k-elf/newlib/libc/syscalls/../../../../../newlib/newlib/libc/syscalls/syswait.c:10: undefined reference to `_wait_r'
collect2: error: ld returned 1 exit status
UNTESTED: gdb.base/catch-fork-kill.exp: catch-fork-kill-fork.exp
UNTESTED: gdb.base/catch-fork-kill.exp: failed to compile catch-fork-kill-fork
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-kill.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-static.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-fork-static.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-gdb-caused-signals.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-gdb-caused-signals/catch-gdb-caused-signals0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-gdb-caused-signals.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-gdb-caused-signals/catch-gdb-caused-signals0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-gdb-caused-signals.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-gdb-caused-signals/catch-gdb-caused-signals0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-gdb-caused-signals/catch-gdb-caused-signals (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-gdb-caused-signals/catch-gdb-caused-signals0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-gdb-caused-signals/catch-gdb-caused-signals
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-gdb-caused-signals/catch-gdb-caused-signals
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-gdb-caused-signals/catch-gdb-caused-signals...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x3e88 lma 0x2028
Loading section .fini, size 0x1c lma 0x5eb0
Loading section .rodata, size 0x6 lma 0x5ecc
Loading section .eh_frame, size 0x4 lma 0x6000
Loading section .ctors, size 0x8 lma 0x6004
Loading section .dtors, size 0x8 lma 0x600c
Loading section .jcr, size 0x4 lma 0x6014
Loading section .data, size 0xc74 lma 0x6018
Start address 0x100
Transfer rate: 219888 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x2454: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-gdb-caused-signals.c, line 28.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x3e88 lma 0x2028
Loading section .fini, size 0x1c lma 0x5eb0
Loading section .rodata, size 0x6 lma 0x5ecc
Loading section .eh_frame, size 0x4 lma 0x6000
Loading section .ctors, size 0x8 lma 0x6004
Loading section .dtors, size 0x8 lma 0x600c
Loading section .jcr, size 0x4 lma 0x6014
Loading section .data, size 0xc74 lma 0x6018
Start address 0x100
Transfer rate: 219888 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/catch-gdb-caused-signals/catch-gdb-caused-signals
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-gdb-caused-signals.c:28
28 int i = 0;
(gdb) handle SIGSEGV nostop noprint
Signal Stop Print Pass to program Description
SIGSEGV No No Yes Segmentation fault
(gdb) PASS: gdb.base/catch-gdb-caused-signals.exp: handle SIGSEGV nostop noprint
handle SIGILL nostop noprint
Signal Stop Print Pass to program Description
SIGILL No No Yes Illegal instruction
(gdb) PASS: gdb.base/catch-gdb-caused-signals.exp: handle SIGILL nostop noprint
print return_one()
warning: Register ppc not updated
warning: Register sr not updated
$1 = 1
(gdb) PASS: gdb.base/catch-gdb-caused-signals.exp: print return_one()
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-gdb-caused-signals.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-load.exp ...
UNTESTED: gdb.base/catch-load.exp: catch-load.exp
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-load.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-signal-fork.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-signal-fork.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-signal.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-signal.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-syscall.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/catch-syscall.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/charset.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/charset.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/charset.c
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/charset-malloc.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/charset-malloc.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset1.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset1.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x3134 lma 0x2028
Loading section .fini, size 0x1c lma 0x515c
Loading section .rodata, size 0x6 lma 0x5178
Loading section .eh_frame, size 0x4 lma 0x6000
Loading section .ctors, size 0x8 lma 0x6004
Loading section .dtors, size 0x8 lma 0x600c
Loading section .jcr, size 0x4 lma 0x6014
Loading section .data, size 0xc74 lma 0x6018
Start address 0x100
Transfer rate: 192592 bits in <1 sec.
(gdb) show charset
The host character set is "auto; currently ANSI_X3.4-1968".
The target character set is "auto; currently ANSI_X3.4-1968".
The target wide character set is "auto; currently UTF-32".
(gdb) PASS: gdb.base/charset.exp: show charset
show target-charset
The target character set is "auto; currently ANSI_X3.4-1968".
(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 "auto; currently ANSI_X3.4-1968".
(gdb) PASS: gdb.base/charset.exp: show host-charset
PASS: gdb.base/charset.exp: check `show host-charset' against `show charset'
set charset
Requires an argument. Valid arguments are auto, 437, 500, 500V1, 850, 851, 852, 855, 856, 857, 860, 861, 862, 863, 864, 865, 866, 866NAV, 869, 874, 904, 1026, 1046, 1047, 8859_1, 8859_2, 8859_3, 8859_4, 8859_5, 8859_6, 8859_7, 8859_8, 8859_9, 10646-1:1993, 10646-1:1993/UCS4, ANSI_X3.4-1968, ANSI_X3.4-1986, ANSI_X3.4, ANSI_X3.110-1983, ANSI_X3.110, ARABIC, ARABIC7, ARMSCII-8, ASCII, ASMO-708, ASMO_449, BALTIC, BIG-5, BIG-FIVE, BIG5-HKSCS, BIG5, BIG5HKSCS, BIGFIVE, BRF, BS_4730, CA, CN-BIG5, CN-GB, CN, CP-AR, CP-GR, CP-HU, CP037, CP038, CP273, CP274, CP275, CP278, CP280, CP281, CP282, CP284, CP285, CP290, CP297, CP367, CP420, CP423, CP424, CP437, CP500, CP737, CP770, CP771, CP772, CP773, CP774, CP775, CP803, CP813, CP819, CP850, CP851, CP852, CP855, CP856, CP857, CP860, CP861, CP862, CP863, CP864, CP865, CP866, CP866NAV, CP868, CP869, CP870, CP871, CP874, CP875, CP880, CP891, CP901, CP902, CP903, CP904, CP905, CP912, CP915, CP916, CP918, CP920, CP921, CP922, CP930, CP932, CP933, CP935, CP936, CP937, CP939, CP949, CP950, CP1004, CP1008, CP1025, CP1026, CP1046, CP1047, CP1070, CP1079, CP1081, CP1084, CP1089, CP1097, CP1112, CP1122, CP1123, CP1124, CP1125, CP1129, CP1130, CP1132, CP1133, CP1137, CP1140, CP1141, CP1142, CP1143, CP1144, CP1145, CP1146, CP1147, CP1148, CP1149, CP1153, CP1154, CP1155, CP1156, CP1157, CP1158, CP1160, CP1161, CP1162, CP1163, CP1164, CP1166, CP1167, CP1250, CP1251, CP1252, CP1253, CP1254, CP1255, CP1256, CP1257, CP1258, CP1282, CP1361, CP1364, CP1371, CP1388, CP1390, CP1399, CP4517, CP4899, CP4909, CP4971, CP5347, CP9030, CP9066, CP9448, CP10007, CP12712, CP16804, CPIBM861, CSA7-1, CSA7-2, CSASCII, CSA_T500-1983, CSA_T500, CSA_Z243.4-1985-1, CSA_Z243.4-1985-2, CSA_Z243.419851, CSA_Z243.419852, CSDECMCS, CSEBCDICATDE, CSEBCDICATDEA, CSEBCDICCAFR, CSEBCDICDKNO, CSEBCDICDKNOA, CSEBCDICES, CSEBCDICESA, CSEBCDICESS, CSEBCDICFISE, CSEBCDICFISEA, CSEBCDICFR, CSEBCDICIT, CSEBCDICPT, CSEBCDICUK, CSEBCDICUS, CSEUCKR, CSEUCPKDFMTJAPANESE, CSGB2312, CSHPROMAN8, CSIBM037, CSIBM038, CSIBM273, CSIBM274, CSIBM275, CSIBM277, CSIBM278, CSIBM280, CSIBM281, CSIBM284, CSIBM285, CSIBM290, CSIBM297, CSIBM420, CSIBM423, CSIBM424, CSIBM500, CSIBM803, CSIBM851, CSIBM855, CSIBM856, CSIBM857, CSIBM860, CSIBM863, CSIBM864, CSIBM865, CSIBM866, CSIBM868, CSIBM869, CSIBM870, CSIBM871, CSIBM880, CSIBM891, CSIBM901, CSIBM902, CSIBM903, CSIBM904, CSIBM905, CSIBM918, CSIBM921, CSIBM922, CSIBM930, CSIBM932, CSIBM933, CSIBM935, CSIBM937, CSIBM939, CSIBM943, CSIBM1008, CSIBM1025, CSIBM1026, CSIBM1097, CSIBM1112, CSIBM1122, CSIBM1123, CSIBM1124, CSIBM1129, CSIBM1130, CSIBM1132, CSIBM1133, CSIBM1137, CSIBM1140, CSIBM1141, CSIBM1142, CSIBM1143, CSIBM1144, CSIBM1145, CSIBM1146, CSIBM1147, CSIBM1148, CSIBM1149, CSIBM1153, CSIBM1154, CSIBM1155, CSIBM1156, CSIBM1157, CSIBM1158, CSIBM1160, CSIBM1161, CSIBM1163, CSIBM1164, CSIBM1166, CSIBM1167, CSIBM1364, CSIBM1371, CSIBM1388, CSIBM1390, CSIBM1399, CSIBM4517, CSIBM4899, CSIBM4909, CSIBM4971, CSIBM5347, CSIBM9030, CSIBM9066, CSIBM9448, CSIBM12712, CSIBM16804, CSIBM11621162, CSISO4UNITEDKINGDOM, CSISO10SWEDISH, CSISO11SWEDISHFORNAMES, CSISO14JISC6220RO, CSISO15ITALIAN, CSISO16PORTUGESE, CSISO17SPANISH, CSISO18GREEK7OLD, CSISO19LATINGREEK, CSISO21GERMAN, CSISO25FRENCH, CSISO27LATINGREEK1, CSISO49INIS, CSISO50INIS8, CSISO51INISCYRILLIC, CSISO58GB1988, CSISO60DANISHNORWEGIAN, CSISO60NORWEGIAN1, CSISO61NORWEGIAN2, CSISO69FRENCH, CSISO84PORTUGUESE2, CSISO85SPANISH2, CSISO86HUNGARIAN, CSISO88GREEK7, CSISO89ASMO449, CSISO90, CSISO92JISC62991984B, CSISO99NAPLPS, CSISO103T618BIT, CSISO111ECMACYRILLIC, CSISO121CANADIAN1, CSISO122CANADIAN2, CSISO139CSN369103, CSISO141JUSIB1002, CSISO143IECP271, CSISO150, CSISO150GREEKCCITT, CSISO151CUBA, CSISO153GOST1976874, CSISO646DANISH, CSISO2022CN, CSISO2022JP, CSISO2022JP2, CSISO2022KR, CSISO2033, CSISO5427CYRILLIC, CSISO5427CYRILLIC1981, CSISO5428GREEK, CSISO10367BOX, CSISOLATIN1, CSISOLATIN2, CSISOLATIN3, CSISOLATIN4, CSISOLATIN5, CSISOLATIN6, CSISOLATINARABIC, CSISOLATINCYRILLIC, CSISOLATINGREEK, CSISOLATINHEBREW, CSKOI8R, CSKSC5636, CSMACINTOSH, CSNATSDANO, CSNATSSEFI, CSN_369103, CSPC8CODEPAGE437, CSPC775BALTIC, CSPC850MULTILINGUAL, CSPC862LATINHEBREW, CSPCP852, CSSHIFTJIS, CSUCS4, CSUNICODE, CSWINDOWS31J, CUBA, CWI-2, CWI, CYRILLIC, DE, DEC-MCS, DEC, DECMCS, DIN_66003, DK, DS2089, DS_2089, E13B, EBCDIC-AT-DE-A, EBCDIC-AT-DE, EBCDIC-BE, EBCDIC-BR, EBCDIC-CA-FR, EBCDIC-CP-AR1, EBCDIC-CP-AR2, EBCDIC-CP-BE, EBCDIC-CP-CA, EBCDIC-CP-CH, EBCDIC-CP-DK, EBCDIC-CP-ES, EBCDIC-CP-FI, EBCDIC-CP-FR, EBCDIC-CP-GB, EBCDIC-CP-GR, EBCDIC-CP-HE, EBCDIC-CP-IS, EBCDIC-CP-IT, EBCDIC-CP-NL, EBCDIC-CP-NO, EBCDIC-CP-ROECE, EBCDIC-CP-SE, EBCDIC-CP-TR, EBCDIC-CP-US, EBCDIC-CP-WT, EBCDIC-CP-YU, EBCDIC-CYRILLIC, EBCDIC-DK-NO-A, EBCDIC-DK-NO, EBCDIC-ES-A, EBCDIC-ES-S, EBCDIC-ES, EBCDIC-FI-SE-A, EBCDIC-FI-SE, EBCDIC-FR, EBCDIC-GREEK, EBCDIC-INT, EBCDIC-INT1, EBCDIC-IS-FRISS, EBCDIC-IT, EBCDIC-JP-E, EBCDIC-JP-KANA, EBCDIC-PT, EBCDIC-UK, EBCDIC-US, EBCDICATDE, EBCDICATDEA, EBCDICCAFR, EBCDICDKNO, EBCDICDKNOA, EBCDICES, EBCDICESA, EBCDICESS, EBCDICFISE, EBCDICFISEA, EBCDICFR, EBCDICISFRISS, EBCDICIT, EBCDICPT, EBCDICUK, EBCDICUS, ECMA-114, ECMA-118, ECMA-128, ECMA-CYRILLIC, ECMACYRILLIC, ELOT_928, ES, ES2, EUC-CN, EUC-JISX0213, EUC-JP-MS, EUC-JP, EUC-KR, EUC-TW, EUCCN, EUCJP-MS, EUCJP-OPEN, EUCJP-WIN, EUCJP, EUCKR, EUCTW, FI, FR, GB, GB2312, GB13000, GB18030, GBK, GB_1988-80, GB_198880, GEORGIAN-ACADEMY, GEORGIAN-PS, GOST_19768-74, GOST_19768, GOST_1976874, GREEK-CCITT, GREEK, GREEK7-OLD, GREEK7, GREEK7OLD, GREEK8, GREEKCCITT, HEBREW, HP-GREEK8, HP-ROMAN8, HP-ROMAN9, HP-THAI8, HP-TURKISH8, HPGREEK8, HPROMAN8, HPROMAN9, HPTHAI8, HPTURKISH8, HU, IBM-803, IBM-856, IBM-901, IBM-902, IBM-921, IBM-922, IBM-930, IBM-932, IBM-933, IBM-935, IBM-937, IBM-939, IBM-943, IBM-1008, IBM-1025, IBM-1046, IBM-1047, IBM-1097, IBM-1112, IBM-1122, IBM-1123, IBM-1124, IBM-1129, IBM-1130, IBM-1132, IBM-1133, IBM-1137, IBM-1140, IBM-1141, IBM-1142, IBM-1143, IBM-1144, IBM-1145, IBM-1146, IBM-1147, IBM-1148, IBM-1149, IBM-1153, IBM-1154, IBM-1155, IBM-1156, IBM-1157, IBM-1158, IBM-1160, IBM-1161, IBM-1162, IBM-1163, IBM-1164, IBM-1166, IBM-1167, IBM-1364, IBM-1371, IBM-1388, IBM-1390, IBM-1399, IBM-4517, IBM-4899, IBM-4909, IBM-4971, IBM-5347, IBM-9030, IBM-9066, IBM-9448, IBM-12712, IBM-16804, IBM037, IBM038, IBM256, IBM273, IBM274, IBM275, IBM277, IBM278, IBM280, IBM281, IBM284, IBM285, IBM290, IBM297, IBM367, IBM420, IBM423, IBM424, IBM437, IBM500, IBM775, IBM803, IBM813, IBM819, IBM848, IBM850, IBM851, IBM852, IBM855, IBM856, IBM857, IBM860, IBM861, IBM862, IBM863, IBM864, IBM865, IBM866, IBM866NAV, IBM868, IBM869, IBM870, IBM871, IBM874, IBM875, IBM880, IBM891, IBM901, IBM902, IBM903, IBM904, IBM905, IBM912, IBM915, IBM916, IBM918, IBM920, IBM921, IBM922, IBM930, IBM932, IBM933, IBM935, IBM937, IBM939, IBM943, IBM1004, IBM1008, IBM1025, IBM1026, IBM1046, IBM1047, IBM1089, IBM1097, IBM1112, IBM1122, IBM1123, IBM1124, IBM1129, IBM1130, IBM1132, IBM1133, IBM1137, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1153, IBM1154, IBM1155, IBM1156, IBM1157, IBM1158, IBM1160, IBM1161, IBM1162, IBM1163, IBM1164, IBM1166, IBM1167, IBM1364, IBM1371, IBM1388, IBM1390, IBM1399, IBM4517, IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804, IEC_P27-1, IEC_P271, INIS-8, INIS-CYRILLIC, INIS, INIS8, INISCYRILLIC, ISIRI-3342, ISIRI3342, ISO-2022-CN-EXT, ISO-2022-CN, ISO-2022-JP-2, ISO-2022-JP-3, ISO-2022-JP, ISO-2022-KR, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-9E, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16, ISO-10646-UCS-2, ISO-10646, ISO-10646/UCS2, ISO-10646/UCS4, ISO-10646/UTF-8, ISO-10646/UTF8, ISO-CELTIC, ISO-IR-4, ISO-IR-6, ISO-IR-8-1, ISO-IR-9-1, ISO-IR-10, ISO-IR-11, ISO-IR-14, ISO-IR-15, ISO-IR-16, ISO-IR-17, ISO-IR-18, ISO-IR-19, ISO-IR-21, ISO-IR-25, ISO-IR-27, ISO-IR-37, ISO-IR-49, ISO-IR-50, ISO-IR-51, ISO-IR-54, ISO-IR-55, ISO-IR-57, ISO-IR-60, ISO-IR-61, ISO-IR-69, ISO-IR-84, ISO-IR-85, ISO-IR-86, ISO-IR-88, ISO-IR-89, ISO-IR-90, ISO-IR-92, ISO-IR-98, ISO-IR-99, ISO-IR-100, ISO-IR-101, ISO-IR-103, ISO-IR-109, ISO-IR-110, ISO-IR-111, ISO-IR-121, ISO-IR-122, ISO-IR-126, ISO-IR-127, ISO-IR-138, ISO-IR-139, ISO-IR-141, ISO-IR-143, ISO-IR-144, ISO-IR-148, ISO-IR-150, ISO-IR-151, ISO-IR-153, ISO-IR-155, ISO-IR-156, ISO-IR-157, ISO-IR-166, ISO-IR-179, ISO-IR-193, ISO-IR-197, ISO-IR-199, ISO-IR-203, ISO-IR-209, ISO-IR-226, ISO/TR_11548-1, ISO646-CA, ISO646-CA2, ISO646-CN, ISO646-CU, ISO646-DE, ISO646-DK, ISO646-ES, ISO646-ES2, ISO646-FI, ISO646-FR, ISO646-FR1, ISO646-GB, ISO646-HU, ISO646-IT, ISO646-JP-OCR-B, ISO646-JP, ISO646-KR, ISO646-NO, ISO646-NO2, ISO646-PT, ISO646-PT2, ISO646-SE, ISO646-SE2, ISO646-US, ISO646-YU, ISO2022CN, ISO2022CNEXT, ISO2022JP, ISO2022JP2, ISO2022KR, ISO6937, ISO8859-1, ISO8859-2, ISO8859-3, ISO8859-4, ISO8859-5, ISO8859-6, ISO8859-7, ISO8859-8, ISO8859-9, ISO8859-9E, ISO8859-10, ISO8859-11, ISO8859-13, ISO8859-14, ISO8859-15, ISO8859-16, ISO11548-1, ISO88591, ISO88592, ISO88593, ISO88594, ISO88595, ISO88596, ISO88597, ISO88598, ISO88599, ISO88599E, ISO885910, ISO885911, ISO885913, ISO885914, ISO885915, ISO885916, ISO_646.IRV:1991, ISO_2033-1983, ISO_2033, ISO_5427-EXT, ISO_5427, ISO_5427:1981, ISO_5427EXT, ISO_5428, ISO_5428:1980, ISO_6937-2, ISO_6937-2:1983, ISO_6937, ISO_6937:1992, ISO_8859-1, ISO_8859-1:1987, ISO_8859-2, ISO_8859-2:1987, ISO_8859-3, ISO_8859-3:1988, ISO_8859-4, ISO_8859-4:1988, ISO_8859-5, ISO_8859-5:1988, ISO_8859-6, ISO_8859-6:1987, ISO_8859-7, ISO_8859-7:1987, ISO_8859-7:2003, ISO_8859-8, ISO_8859-8:1988, ISO_8859-9, ISO_8859-9:1989, ISO_8859-9E, ISO_8859-10, ISO_8859-10:1992, ISO_8859-14, ISO_8859-14:1998, ISO_8859-15, ISO_8859-15:1998, ISO_8859-16, ISO_8859-16:2001, ISO_9036, ISO_10367-BOX, ISO_10367BOX, ISO_11548-1, ISO_69372, IT, JIS_C6220-1969-RO, JIS_C6229-1984-B, JIS_C62201969RO, JIS_C62291984B, JOHAB, JP-OCR-B, JP, JS, JUS_I.B1.002, KOI-7, KOI-8, KOI8-R, KOI8-RU, KOI8-T, KOI8-U, KOI8, KOI8R, KOI8U, KSC5636, L1, L2, L3, L4, L5, L6, L7, L8, L10, LATIN-9, LATIN-GREEK-1, LATIN-GREEK, LATIN1, LATIN2, LATIN3, LATIN4, LATIN5, LATIN6, LATIN7, LATIN8, LATIN9, LATIN10, LATINGREEK, LATINGREEK1, MAC-CENTRALEUROPE, MAC-CYRILLIC, MAC-IS, MAC-SAMI, MAC-UK, MAC, MACCYRILLIC, MACINTOSH, MACIS, MACUK, MACUKRAINIAN, MIK, MS-ANSI, MS-ARAB, MS-CYRL, MS-EE, MS-GREEK, MS-HEBR, MS-MAC-CYRILLIC, MS-TURK, MS932, MS936, MSCP949, MSCP1361, MSMACCYRILLIC, MSZ_7795.3, MS_KANJI, NAPLPS, NATS-DANO, NATS-SEFI, NATSDANO, NATSSEFI, NC_NC0010, NC_NC00-10, NC_NC00-10:81, NF_Z_62-010, NF_Z_62-010_(1973), NF_Z_62-010_1973, NF_Z_62010, NF_Z_62010_1973, NO, NO2, NS_4551-1, NS_4551-2, NS_45511, NS_45512, OS2LATIN1, OSF00010001, OSF00010002, OSF00010003, OSF00010004, OSF00010005, OSF00010006, OSF00010007, OSF00010008, OSF00010009, OSF0001000A, OSF00010020, OSF00010100, OSF00010101, OSF00010102, OSF00010104, OSF00010105, OSF00010106, OSF00030010, OSF0004000A, OSF0005000A, OSF05010001, OSF100201A4, OSF100201A8, OSF100201B5, OSF100201F4, OSF100203B5, OSF1002011C, OSF1002011D, OSF1002035D, OSF1002035E, OSF1002035F, OSF1002036B, OSF1002037B, OSF10010001, OSF10010004, OSF10010006, OSF10020025, OSF10020111, OSF10020115, OSF10020116, OSF10020118, OSF10020122, OSF10020129, OSF10020352, OSF10020354, OSF10020357, OSF10020359, OSF10020360, OSF10020364, OSF10020365, OSF10020366, OSF10020367, OSF10020370, OSF10020387, OSF10020388, OSF10020396, OSF10020402, OSF10020417, PT, PT2, PT154, R8, R9, RK1048, ROMAN8, ROMAN9, RUSCII, SE, SE2, SEN_850200_B, SEN_850200_C, SHIFT-JIS, SHIFT_JIS, SHIFT_JISX0213, SJIS-OPEN, SJIS-WIN, SJIS, SS636127, STRK1048-2002, ST_SEV_358-88, T.61-8BIT, T.61, T.618BIT, TCVN-5712, TCVN, TCVN5712-1, TCVN5712-1:1993, THAI8, TIS-620, TIS620-0, TIS620.2529-1, TIS620.2533-0, TIS620, TS-5881, TSCII, TURKISH8, UCS-2, UCS-2BE, UCS-2LE, UCS-4, UCS-4BE, UCS-4LE, UCS2, UCS4, UHC, UJIS, UK, UNICODE, UNICODEBIG, UNICODELITTLE, US-ASCII, US, UTF-7, UTF-8, UTF-16, UTF-16BE, UTF-16LE, UTF-32, UTF-32BE, UTF-32LE, UTF7, UTF8, UTF16, UTF16BE, UTF16LE, UTF32, UTF32BE, UTF32LE, VISCII, WCHAR_T, WIN-SAMI-2, WINBALTRIM, WINDOWS-31J, WINDOWS-874, WINDOWS-936, WINDOWS-1250, WINDOWS-1251, WINDOWS-1252, WINDOWS-1253, WINDOWS-1254, WINDOWS-1255, WINDOWS-1256, WINDOWS-1257, WINDOWS-1258, WINSAMI2, WS2, YU.
(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 auto, 437, 500, 500V1, 850, 851, 852, 855, 856, 857, 860, 861, 862, 863, 864, 865, 866, 866NAV, 869, 874, 904, 1026, 1046, 1047, 8859_1, 8859_2, 8859_3, 8859_4, 8859_5, 8859_6, 8859_7, 8859_8, 8859_9, 10646-1:1993, 10646-1:1993/UCS4, ANSI_X3.4-1968, ANSI_X3.4-1986, ANSI_X3.4, ANSI_X3.110-1983, ANSI_X3.110, ARABIC, ARABIC7, ARMSCII-8, ASCII, ASMO-708, ASMO_449, BALTIC, BIG-5, BIG-FIVE, BIG5-HKSCS, BIG5, BIG5HKSCS, BIGFIVE, BRF, BS_4730, CA, CN-BIG5, CN-GB, CN, CP-AR, CP-GR, CP-HU, CP037, CP038, CP273, CP274, CP275, CP278, CP280, CP281, CP282, CP284, CP285, CP290, CP297, CP367, CP420, CP423, CP424, CP437, CP500, CP737, CP770, CP771, CP772, CP773, CP774, CP775, CP803, CP813, CP819, CP850, CP851, CP852, CP855, CP856, CP857, CP860, CP861, CP862, CP863, CP864, CP865, CP866, CP866NAV, CP868, CP869, CP870, CP871, CP874, CP875, CP880, CP891, CP901, CP902, CP903, CP904, CP905, CP912, CP915, CP916, CP918, CP920, CP921, CP922, CP930, CP932, CP933, CP935, CP936, CP937, CP939, CP949, CP950, CP1004, CP1008, CP1025, CP1026, CP1046, CP1047, CP1070, CP1079, CP1081, CP1084, CP1089, CP1097, CP1112, CP1122, CP1123, CP1124, CP1125, CP1129, CP1130, CP1132, CP1133, CP1137, CP1140, CP1141, CP1142, CP1143, CP1144, CP1145, CP1146, CP1147, CP1148, CP1149, CP1153, CP1154, CP1155, CP1156, CP1157, CP1158, CP1160, CP1161, CP1162, CP1163, CP1164, CP1166, CP1167, CP1250, CP1251, CP1252, CP1253, CP1254, CP1255, CP1256, CP1257, CP1258, CP1282, CP1361, CP1364, CP1371, CP1388, CP1390, CP1399, CP4517, CP4899, CP4909, CP4971, CP5347, CP9030, CP9066, CP9448, CP10007, CP12712, CP16804, CPIBM861, CSA7-1, CSA7-2, CSASCII, CSA_T500-1983, CSA_T500, CSA_Z243.4-1985-1, CSA_Z243.4-1985-2, CSA_Z243.419851, CSA_Z243.419852, CSDECMCS, CSEBCDICATDE, CSEBCDICATDEA, CSEBCDICCAFR, CSEBCDICDKNO, CSEBCDICDKNOA, CSEBCDICES, CSEBCDICESA, CSEBCDICESS, CSEBCDICFISE, CSEBCDICFISEA, CSEBCDICFR, CSEBCDICIT, CSEBCDICPT, CSEBCDICUK, CSEBCDICUS, CSEUCKR, CSEUCPKDFMTJAPANESE, CSGB2312, CSHPROMAN8, CSIBM037, CSIBM038, CSIBM273, CSIBM274, CSIBM275, CSIBM277, CSIBM278, CSIBM280, CSIBM281, CSIBM284, CSIBM285, CSIBM290, CSIBM297, CSIBM420, CSIBM423, CSIBM424, CSIBM500, CSIBM803, CSIBM851, CSIBM855, CSIBM856, CSIBM857, CSIBM860, CSIBM863, CSIBM864, CSIBM865, CSIBM866, CSIBM868, CSIBM869, CSIBM870, CSIBM871, CSIBM880, CSIBM891, CSIBM901, CSIBM902, CSIBM903, CSIBM904, CSIBM905, CSIBM918, CSIBM921, CSIBM922, CSIBM930, CSIBM932, CSIBM933, CSIBM935, CSIBM937, CSIBM939, CSIBM943, CSIBM1008, CSIBM1025, CSIBM1026, CSIBM1097, CSIBM1112, CSIBM1122, CSIBM1123, CSIBM1124, CSIBM1129, CSIBM1130, CSIBM1132, CSIBM1133, CSIBM1137, CSIBM1140, CSIBM1141, CSIBM1142, CSIBM1143, CSIBM1144, CSIBM1145, CSIBM1146, CSIBM1147, CSIBM1148, CSIBM1149, CSIBM1153, CSIBM1154, CSIBM1155, CSIBM1156, CSIBM1157, CSIBM1158, CSIBM1160, CSIBM1161, CSIBM1163, CSIBM1164, CSIBM1166, CSIBM1167, CSIBM1364, CSIBM1371, CSIBM1388, CSIBM1390, CSIBM1399, CSIBM4517, CSIBM4899, CSIBM4909, CSIBM4971, CSIBM5347, CSIBM9030, CSIBM9066, CSIBM9448, CSIBM12712, CSIBM16804, CSIBM11621162, CSISO4UNITEDKINGDOM, CSISO10SWEDISH, CSISO11SWEDISHFORNAMES, CSISO14JISC6220RO, CSISO15ITALIAN, CSISO16PORTUGESE, CSISO17SPANISH, CSISO18GREEK7OLD, CSISO19LATINGREEK, CSISO21GERMAN, CSISO25FRENCH, CSISO27LATINGREEK1, CSISO49INIS, CSISO50INIS8, CSISO51INISCYRILLIC, CSISO58GB1988, CSISO60DANISHNORWEGIAN, CSISO60NORWEGIAN1, CSISO61NORWEGIAN2, CSISO69FRENCH, CSISO84PORTUGUESE2, CSISO85SPANISH2, CSISO86HUNGARIAN, CSISO88GREEK7, CSISO89ASMO449, CSISO90, CSISO92JISC62991984B, CSISO99NAPLPS, CSISO103T618BIT, CSISO111ECMACYRILLIC, CSISO121CANADIAN1, CSISO122CANADIAN2, CSISO139CSN369103, CSISO141JUSIB1002, CSISO143IECP271, CSISO150, CSISO150GREEKCCITT, CSISO151CUBA, CSISO153GOST1976874, CSISO646DANISH, CSISO2022CN, CSISO2022JP, CSISO2022JP2, CSISO2022KR, CSISO2033, CSISO5427CYRILLIC, CSISO5427CYRILLIC1981, CSISO5428GREEK, CSISO10367BOX, CSISOLATIN1, CSISOLATIN2, CSISOLATIN3, CSISOLATIN4, CSISOLATIN5, CSISOLATIN6, CSISOLATINARABIC, CSISOLATINCYRILLIC, CSISOLATINGREEK, CSISOLATINHEBREW, CSKOI8R, CSKSC5636, CSMACINTOSH, CSNATSDANO, CSNATSSEFI, CSN_369103, CSPC8CODEPAGE437, CSPC775BALTIC, CSPC850MULTILINGUAL, CSPC862LATINHEBREW, CSPCP852, CSSHIFTJIS, CSUCS4, CSUNICODE, CSWINDOWS31J, CUBA, CWI-2, CWI, CYRILLIC, DE, DEC-MCS, DEC, DECMCS, DIN_66003, DK, DS2089, DS_2089, E13B, EBCDIC-AT-DE-A, EBCDIC-AT-DE, EBCDIC-BE, EBCDIC-BR, EBCDIC-CA-FR, EBCDIC-CP-AR1, EBCDIC-CP-AR2, EBCDIC-CP-BE, EBCDIC-CP-CA, EBCDIC-CP-CH, EBCDIC-CP-DK, EBCDIC-CP-ES, EBCDIC-CP-FI, EBCDIC-CP-FR, EBCDIC-CP-GB, EBCDIC-CP-GR, EBCDIC-CP-HE, EBCDIC-CP-IS, EBCDIC-CP-IT, EBCDIC-CP-NL, EBCDIC-CP-NO, EBCDIC-CP-ROECE, EBCDIC-CP-SE, EBCDIC-CP-TR, EBCDIC-CP-US, EBCDIC-CP-WT, EBCDIC-CP-YU, EBCDIC-CYRILLIC, EBCDIC-DK-NO-A, EBCDIC-DK-NO, EBCDIC-ES-A, EBCDIC-ES-S, EBCDIC-ES, EBCDIC-FI-SE-A, EBCDIC-FI-SE, EBCDIC-FR, EBCDIC-GREEK, EBCDIC-INT, EBCDIC-INT1, EBCDIC-IS-FRISS, EBCDIC-IT, EBCDIC-JP-E, EBCDIC-JP-KANA, EBCDIC-PT, EBCDIC-UK, EBCDIC-US, EBCDICATDE, EBCDICATDEA, EBCDICCAFR, EBCDICDKNO, EBCDICDKNOA, EBCDICES, EBCDICESA, EBCDICESS, EBCDICFISE, EBCDICFISEA, EBCDICFR, EBCDICISFRISS, EBCDICIT, EBCDICPT, EBCDICUK, EBCDICUS, ECMA-114, ECMA-118, ECMA-128, ECMA-CYRILLIC, ECMACYRILLIC, ELOT_928, ES, ES2, EUC-CN, EUC-JISX0213, EUC-JP-MS, EUC-JP, EUC-KR, EUC-TW, EUCCN, EUCJP-MS, EUCJP-OPEN, EUCJP-WIN, EUCJP, EUCKR, EUCTW, FI, FR, GB, GB2312, GB13000, GB18030, GBK, GB_1988-80, GB_198880, GEORGIAN-ACADEMY, GEORGIAN-PS, GOST_19768-74, GOST_19768, GOST_1976874, GREEK-CCITT, GREEK, GREEK7-OLD, GREEK7, GREEK7OLD, GREEK8, GREEKCCITT, HEBREW, HP-GREEK8, HP-ROMAN8, HP-ROMAN9, HP-THAI8, HP-TURKISH8, HPGREEK8, HPROMAN8, HPROMAN9, HPTHAI8, HPTURKISH8, HU, IBM-803, IBM-856, IBM-901, IBM-902, IBM-921, IBM-922, IBM-930, IBM-932, IBM-933, IBM-935, IBM-937, IBM-939, IBM-943, IBM-1008, IBM-1025, IBM-1046, IBM-1047, IBM-1097, IBM-1112, IBM-1122, IBM-1123, IBM-1124, IBM-1129, IBM-1130, IBM-1132, IBM-1133, IBM-1137, IBM-1140, IBM-1141, IBM-1142, IBM-1143, IBM-1144, IBM-1145, IBM-1146, IBM-1147, IBM-1148, IBM-1149, IBM-1153, IBM-1154, IBM-1155, IBM-1156, IBM-1157, IBM-1158, IBM-1160, IBM-1161, IBM-1162, IBM-1163, IBM-1164, IBM-1166, IBM-1167, IBM-1364, IBM-1371, IBM-1388, IBM-1390, IBM-1399, IBM-4517, IBM-4899, IBM-4909, IBM-4971, IBM-5347, IBM-9030, IBM-9066, IBM-9448, IBM-12712, IBM-16804, IBM037, IBM038, IBM256, IBM273, IBM274, IBM275, IBM277, IBM278, IBM280, IBM281, IBM284, IBM285, IBM290, IBM297, IBM367, IBM420, IBM423, IBM424, IBM437, IBM500, IBM775, IBM803, IBM813, IBM819, IBM848, IBM850, IBM851, IBM852, IBM855, IBM856, IBM857, IBM860, IBM861, IBM862, IBM863, IBM864, IBM865, IBM866, IBM866NAV, IBM868, IBM869, IBM870, IBM871, IBM874, IBM875, IBM880, IBM891, IBM901, IBM902, IBM903, IBM904, IBM905, IBM912, IBM915, IBM916, IBM918, IBM920, IBM921, IBM922, IBM930, IBM932, IBM933, IBM935, IBM937, IBM939, IBM943, IBM1004, IBM1008, IBM1025, IBM1026, IBM1046, IBM1047, IBM1089, IBM1097, IBM1112, IBM1122, IBM1123, IBM1124, IBM1129, IBM1130, IBM1132, IBM1133, IBM1137, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1153, IBM1154, IBM1155, IBM1156, IBM1157, IBM1158, IBM1160, IBM1161, IBM1162, IBM1163, IBM1164, IBM1166, IBM1167, IBM1364, IBM1371, IBM1388, IBM1390, IBM1399, IBM4517, IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804, IEC_P27-1, IEC_P271, INIS-8, INIS-CYRILLIC, INIS, INIS8, INISCYRILLIC, ISIRI-3342, ISIRI3342, ISO-2022-CN-EXT, ISO-2022-CN, ISO-2022-JP-2, ISO-2022-JP-3, ISO-2022-JP, ISO-2022-KR, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-9E, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16, ISO-10646-UCS-2, ISO-10646, ISO-10646/UCS2, ISO-10646/UCS4, ISO-10646/UTF-8, ISO-10646/UTF8, ISO-CELTIC, ISO-IR-4, ISO-IR-6, ISO-IR-8-1, ISO-IR-9-1, ISO-IR-10, ISO-IR-11, ISO-IR-14, ISO-IR-15, ISO-IR-16, ISO-IR-17, ISO-IR-18, ISO-IR-19, ISO-IR-21, ISO-IR-25, ISO-IR-27, ISO-IR-37, ISO-IR-49, ISO-IR-50, ISO-IR-51, ISO-IR-54, ISO-IR-55, ISO-IR-57, ISO-IR-60, ISO-IR-61, ISO-IR-69, ISO-IR-84, ISO-IR-85, ISO-IR-86, ISO-IR-88, ISO-IR-89, ISO-IR-90, ISO-IR-92, ISO-IR-98, ISO-IR-99, ISO-IR-100, ISO-IR-101, ISO-IR-103, ISO-IR-109, ISO-IR-110, ISO-IR-111, ISO-IR-121, ISO-IR-122, ISO-IR-126, ISO-IR-127, ISO-IR-138, ISO-IR-139, ISO-IR-141, ISO-IR-143, ISO-IR-144, ISO-IR-148, ISO-IR-150, ISO-IR-151, ISO-IR-153, ISO-IR-155, ISO-IR-156, ISO-IR-157, ISO-IR-166, ISO-IR-179, ISO-IR-193, ISO-IR-197, ISO-IR-199, ISO-IR-203, ISO-IR-209, ISO-IR-226, ISO/TR_11548-1, ISO646-CA, ISO646-CA2, ISO646-CN, ISO646-CU, ISO646-DE, ISO646-DK, ISO646-ES, ISO646-ES2, ISO646-FI, ISO646-FR, ISO646-FR1, ISO646-GB, ISO646-HU, ISO646-IT, ISO646-JP-OCR-B, ISO646-JP, ISO646-KR, ISO646-NO, ISO646-NO2, ISO646-PT, ISO646-PT2, ISO646-SE, ISO646-SE2, ISO646-US, ISO646-YU, ISO2022CN, ISO2022CNEXT, ISO2022JP, ISO2022JP2, ISO2022KR, ISO6937, ISO8859-1, ISO8859-2, ISO8859-3, ISO8859-4, ISO8859-5, ISO8859-6, ISO8859-7, ISO8859-8, ISO8859-9, ISO8859-9E, ISO8859-10, ISO8859-11, ISO8859-13, ISO8859-14, ISO8859-15, ISO8859-16, ISO11548-1, ISO88591, ISO88592, ISO88593, ISO88594, ISO88595, ISO88596, ISO88597, ISO88598, ISO88599, ISO88599E, ISO885910, ISO885911, ISO885913, ISO885914, ISO885915, ISO885916, ISO_646.IRV:1991, ISO_2033-1983, ISO_2033, ISO_5427-EXT, ISO_5427, ISO_5427:1981, ISO_5427EXT, ISO_5428, ISO_5428:1980, ISO_6937-2, ISO_6937-2:1983, ISO_6937, ISO_6937:1992, ISO_8859-1, ISO_8859-1:1987, ISO_8859-2, ISO_8859-2:1987, ISO_8859-3, ISO_8859-3:1988, ISO_8859-4, ISO_8859-4:1988, ISO_8859-5, ISO_8859-5:1988, ISO_8859-6, ISO_8859-6:1987, ISO_8859-7, ISO_8859-7:1987, ISO_8859-7:2003, ISO_8859-8, ISO_8859-8:1988, ISO_8859-9, ISO_8859-9:1989, ISO_8859-9E, ISO_8859-10, ISO_8859-10:1992, ISO_8859-14, ISO_8859-14:1998, ISO_8859-15, ISO_8859-15:1998, ISO_8859-16, ISO_8859-16:2001, ISO_9036, ISO_10367-BOX, ISO_10367BOX, ISO_11548-1, ISO_69372, IT, JIS_C6220-1969-RO, JIS_C6229-1984-B, JIS_C62201969RO, JIS_C62291984B, JOHAB, JP-OCR-B, JP, JS, JUS_I.B1.002, KOI-7, KOI-8, KOI8-R, KOI8-RU, KOI8-T, KOI8-U, KOI8, KOI8R, KOI8U, KSC5636, L1, L2, L3, L4, L5, L6, L7, L8, L10, LATIN-9, LATIN-GREEK-1, LATIN-GREEK, LATIN1, LATIN2, LATIN3, LATIN4, LATIN5, LATIN6, LATIN7, LATIN8, LATIN9, LATIN10, LATINGREEK, LATINGREEK1, MAC-CENTRALEUROPE, MAC-CYRILLIC, MAC-IS, MAC-SAMI, MAC-UK, MAC, MACCYRILLIC, MACINTOSH, MACIS, MACUK, MACUKRAINIAN, MIK, MS-ANSI, MS-ARAB, MS-CYRL, MS-EE, MS-GREEK, MS-HEBR, MS-MAC-CYRILLIC, MS-TURK, MS932, MS936, MSCP949, MSCP1361, MSMACCYRILLIC, MSZ_7795.3, MS_KANJI, NAPLPS, NATS-DANO, NATS-SEFI, NATSDANO, NATSSEFI, NC_NC0010, NC_NC00-10, NC_NC00-10:81, NF_Z_62-010, NF_Z_62-010_(1973), NF_Z_62-010_1973, NF_Z_62010, NF_Z_62010_1973, NO, NO2, NS_4551-1, NS_4551-2, NS_45511, NS_45512, OS2LATIN1, OSF00010001, OSF00010002, OSF00010003, OSF00010004, OSF00010005, OSF00010006, OSF00010007, OSF00010008, OSF00010009, OSF0001000A, OSF00010020, OSF00010100, OSF00010101, OSF00010102, OSF00010104, OSF00010105, OSF00010106, OSF00030010, OSF0004000A, OSF0005000A, OSF05010001, OSF100201A4, OSF100201A8, OSF100201B5, OSF100201F4, OSF100203B5, OSF1002011C, OSF1002011D, OSF1002035D, OSF1002035E, OSF1002035F, OSF1002036B, OSF1002037B, OSF10010001, OSF10010004, OSF10010006, OSF10020025, OSF10020111, OSF10020115, OSF10020116, OSF10020118, OSF10020122, OSF10020129, OSF10020352, OSF10020354, OSF10020357, OSF10020359, OSF10020360, OSF10020364, OSF10020365, OSF10020366, OSF10020367, OSF10020370, OSF10020387, OSF10020388, OSF10020396, OSF10020402, OSF10020417, PT, PT2, PT154, R8, R9, RK1048, ROMAN8, ROMAN9, RUSCII, SE, SE2, SEN_850200_B, SEN_850200_C, SHIFT-JIS, SHIFT_JIS, SHIFT_JISX0213, SJIS-OPEN, SJIS-WIN, SJIS, SS636127, STRK1048-2002, ST_SEV_358-88, T.61-8BIT, T.61, T.618BIT, TCVN-5712, TCVN, TCVN5712-1, TCVN5712-1:1993, THAI8, TIS-620, TIS620-0, TIS620.2529-1, TIS620.2533-0, TIS620, TS-5881, TSCII, TURKISH8, UCS-2, UCS-2BE, UCS-2LE, UCS-4, UCS-4BE, UCS-4LE, UCS2, UCS4, UHC, UJIS, UK, UNICODE, UNICODEBIG, UNICODELITTLE, US-ASCII, US, UTF-7, UTF-8, UTF-16, UTF-16BE, UTF-16LE, UTF-32, UTF-32BE, UTF-32LE, UTF7, UTF8, UTF16, UTF16BE, UTF16LE, UTF32, UTF32BE, UTF32LE, VISCII, WCHAR_T, WIN-SAMI-2, WINBALTRIM, WINDOWS-31J, WINDOWS-874, WINDOWS-936, WINDOWS-1250, WINDOWS-1251, WINDOWS-1252, WINDOWS-1253, WINDOWS-1254, WINDOWS-1255, WINDOWS-1256, WINDOWS-1257, WINDOWS-1258, WINSAMI2, WS2, YU.
(gdb) PASS: gdb.base/charset.exp: capture valid host charsets
set target-charset
Requires an argument. Valid arguments are auto, 437, 500, 500V1, 850, 851, 852, 855, 856, 857, 860, 861, 862, 863, 864, 865, 866, 866NAV, 869, 874, 904, 1026, 1046, 1047, 8859_1, 8859_2, 8859_3, 8859_4, 8859_5, 8859_6, 8859_7, 8859_8, 8859_9, 10646-1:1993, 10646-1:1993/UCS4, ANSI_X3.4-1968, ANSI_X3.4-1986, ANSI_X3.4, ANSI_X3.110-1983, ANSI_X3.110, ARABIC, ARABIC7, ARMSCII-8, ASCII, ASMO-708, ASMO_449, BALTIC, BIG-5, BIG-FIVE, BIG5-HKSCS, BIG5, BIG5HKSCS, BIGFIVE, BRF, BS_4730, CA, CN-BIG5, CN-GB, CN, CP-AR, CP-GR, CP-HU, CP037, CP038, CP273, CP274, CP275, CP278, CP280, CP281, CP282, CP284, CP285, CP290, CP297, CP367, CP420, CP423, CP424, CP437, CP500, CP737, CP770, CP771, CP772, CP773, CP774, CP775, CP803, CP813, CP819, CP850, CP851, CP852, CP855, CP856, CP857, CP860, CP861, CP862, CP863, CP864, CP865, CP866, CP866NAV, CP868, CP869, CP870, CP871, CP874, CP875, CP880, CP891, CP901, CP902, CP903, CP904, CP905, CP912, CP915, CP916, CP918, CP920, CP921, CP922, CP930, CP932, CP933, CP935, CP936, CP937, CP939, CP949, CP950, CP1004, CP1008, CP1025, CP1026, CP1046, CP1047, CP1070, CP1079, CP1081, CP1084, CP1089, CP1097, CP1112, CP1122, CP1123, CP1124, CP1125, CP1129, CP1130, CP1132, CP1133, CP1137, CP1140, CP1141, CP1142, CP1143, CP1144, CP1145, CP1146, CP1147, CP1148, CP1149, CP1153, CP1154, CP1155, CP1156, CP1157, CP1158, CP1160, CP1161, CP1162, CP1163, CP1164, CP1166, CP1167, CP1250, CP1251, CP1252, CP1253, CP1254, CP1255, CP1256, CP1257, CP1258, CP1282, CP1361, CP1364, CP1371, CP1388, CP1390, CP1399, CP4517, CP4899, CP4909, CP4971, CP5347, CP9030, CP9066, CP9448, CP10007, CP12712, CP16804, CPIBM861, CSA7-1, CSA7-2, CSASCII, CSA_T500-1983, CSA_T500, CSA_Z243.4-1985-1, CSA_Z243.4-1985-2, CSA_Z243.419851, CSA_Z243.419852, CSDECMCS, CSEBCDICATDE, CSEBCDICATDEA, CSEBCDICCAFR, CSEBCDICDKNO, CSEBCDICDKNOA, CSEBCDICES, CSEBCDICESA, CSEBCDICESS, CSEBCDICFISE, CSEBCDICFISEA, CSEBCDICFR, CSEBCDICIT, CSEBCDICPT, CSEBCDICUK, CSEBCDICUS, CSEUCKR, CSEUCPKDFMTJAPANESE, CSGB2312, CSHPROMAN8, CSIBM037, CSIBM038, CSIBM273, CSIBM274, CSIBM275, CSIBM277, CSIBM278, CSIBM280, CSIBM281, CSIBM284, CSIBM285, CSIBM290, CSIBM297, CSIBM420, CSIBM423, CSIBM424, CSIBM500, CSIBM803, CSIBM851, CSIBM855, CSIBM856, CSIBM857, CSIBM860, CSIBM863, CSIBM864, CSIBM865, CSIBM866, CSIBM868, CSIBM869, CSIBM870, CSIBM871, CSIBM880, CSIBM891, CSIBM901, CSIBM902, CSIBM903, CSIBM904, CSIBM905, CSIBM918, CSIBM921, CSIBM922, CSIBM930, CSIBM932, CSIBM933, CSIBM935, CSIBM937, CSIBM939, CSIBM943, CSIBM1008, CSIBM1025, CSIBM1026, CSIBM1097, CSIBM1112, CSIBM1122, CSIBM1123, CSIBM1124, CSIBM1129, CSIBM1130, CSIBM1132, CSIBM1133, CSIBM1137, CSIBM1140, CSIBM1141, CSIBM1142, CSIBM1143, CSIBM1144, CSIBM1145, CSIBM1146, CSIBM1147, CSIBM1148, CSIBM1149, CSIBM1153, CSIBM1154, CSIBM1155, CSIBM1156, CSIBM1157, CSIBM1158, CSIBM1160, CSIBM1161, CSIBM1163, CSIBM1164, CSIBM1166, CSIBM1167, CSIBM1364, CSIBM1371, CSIBM1388, CSIBM1390, CSIBM1399, CSIBM4517, CSIBM4899, CSIBM4909, CSIBM4971, CSIBM5347, CSIBM9030, CSIBM9066, CSIBM9448, CSIBM12712, CSIBM16804, CSIBM11621162, CSISO4UNITEDKINGDOM, CSISO10SWEDISH, CSISO11SWEDISHFORNAMES, CSISO14JISC6220RO, CSISO15ITALIAN, CSISO16PORTUGESE, CSISO17SPANISH, CSISO18GREEK7OLD, CSISO19LATINGREEK, CSISO21GERMAN, CSISO25FRENCH, CSISO27LATINGREEK1, CSISO49INIS, CSISO50INIS8, CSISO51INISCYRILLIC, CSISO58GB1988, CSISO60DANISHNORWEGIAN, CSISO60NORWEGIAN1, CSISO61NORWEGIAN2, CSISO69FRENCH, CSISO84PORTUGUESE2, CSISO85SPANISH2, CSISO86HUNGARIAN, CSISO88GREEK7, CSISO89ASMO449, CSISO90, CSISO92JISC62991984B, CSISO99NAPLPS, CSISO103T618BIT, CSISO111ECMACYRILLIC, CSISO121CANADIAN1, CSISO122CANADIAN2, CSISO139CSN369103, CSISO141JUSIB1002, CSISO143IECP271, CSISO150, CSISO150GREEKCCITT, CSISO151CUBA, CSISO153GOST1976874, CSISO646DANISH, CSISO2022CN, CSISO2022JP, CSISO2022JP2, CSISO2022KR, CSISO2033, CSISO5427CYRILLIC, CSISO5427CYRILLIC1981, CSISO5428GREEK, CSISO10367BOX, CSISOLATIN1, CSISOLATIN2, CSISOLATIN3, CSISOLATIN4, CSISOLATIN5, CSISOLATIN6, CSISOLATINARABIC, CSISOLATINCYRILLIC, CSISOLATINGREEK, CSISOLATINHEBREW, CSKOI8R, CSKSC5636, CSMACINTOSH, CSNATSDANO, CSNATSSEFI, CSN_369103, CSPC8CODEPAGE437, CSPC775BALTIC, CSPC850MULTILINGUAL, CSPC862LATINHEBREW, CSPCP852, CSSHIFTJIS, CSUCS4, CSUNICODE, CSWINDOWS31J, CUBA, CWI-2, CWI, CYRILLIC, DE, DEC-MCS, DEC, DECMCS, DIN_66003, DK, DS2089, DS_2089, E13B, EBCDIC-AT-DE-A, EBCDIC-AT-DE, EBCDIC-BE, EBCDIC-BR, EBCDIC-CA-FR, EBCDIC-CP-AR1, EBCDIC-CP-AR2, EBCDIC-CP-BE, EBCDIC-CP-CA, EBCDIC-CP-CH, EBCDIC-CP-DK, EBCDIC-CP-ES, EBCDIC-CP-FI, EBCDIC-CP-FR, EBCDIC-CP-GB, EBCDIC-CP-GR, EBCDIC-CP-HE, EBCDIC-CP-IS, EBCDIC-CP-IT, EBCDIC-CP-NL, EBCDIC-CP-NO, EBCDIC-CP-ROECE, EBCDIC-CP-SE, EBCDIC-CP-TR, EBCDIC-CP-US, EBCDIC-CP-WT, EBCDIC-CP-YU, EBCDIC-CYRILLIC, EBCDIC-DK-NO-A, EBCDIC-DK-NO, EBCDIC-ES-A, EBCDIC-ES-S, EBCDIC-ES, EBCDIC-FI-SE-A, EBCDIC-FI-SE, EBCDIC-FR, EBCDIC-GREEK, EBCDIC-INT, EBCDIC-INT1, EBCDIC-IS-FRISS, EBCDIC-IT, EBCDIC-JP-E, EBCDIC-JP-KANA, EBCDIC-PT, EBCDIC-UK, EBCDIC-US, EBCDICATDE, EBCDICATDEA, EBCDICCAFR, EBCDICDKNO, EBCDICDKNOA, EBCDICES, EBCDICESA, EBCDICESS, EBCDICFISE, EBCDICFISEA, EBCDICFR, EBCDICISFRISS, EBCDICIT, EBCDICPT, EBCDICUK, EBCDICUS, ECMA-114, ECMA-118, ECMA-128, ECMA-CYRILLIC, ECMACYRILLIC, ELOT_928, ES, ES2, EUC-CN, EUC-JISX0213, EUC-JP-MS, EUC-JP, EUC-KR, EUC-TW, EUCCN, EUCJP-MS, EUCJP-OPEN, EUCJP-WIN, EUCJP, EUCKR, EUCTW, FI, FR, GB, GB2312, GB13000, GB18030, GBK, GB_1988-80, GB_198880, GEORGIAN-ACADEMY, GEORGIAN-PS, GOST_19768-74, GOST_19768, GOST_1976874, GREEK-CCITT, GREEK, GREEK7-OLD, GREEK7, GREEK7OLD, GREEK8, GREEKCCITT, HEBREW, HP-GREEK8, HP-ROMAN8, HP-ROMAN9, HP-THAI8, HP-TURKISH8, HPGREEK8, HPROMAN8, HPROMAN9, HPTHAI8, HPTURKISH8, HU, IBM-803, IBM-856, IBM-901, IBM-902, IBM-921, IBM-922, IBM-930, IBM-932, IBM-933, IBM-935, IBM-937, IBM-939, IBM-943, IBM-1008, IBM-1025, IBM-1046, IBM-1047, IBM-1097, IBM-1112, IBM-1122, IBM-1123, IBM-1124, IBM-1129, IBM-1130, IBM-1132, IBM-1133, IBM-1137, IBM-1140, IBM-1141, IBM-1142, IBM-1143, IBM-1144, IBM-1145, IBM-1146, IBM-1147, IBM-1148, IBM-1149, IBM-1153, IBM-1154, IBM-1155, IBM-1156, IBM-1157, IBM-1158, IBM-1160, IBM-1161, IBM-1162, IBM-1163, IBM-1164, IBM-1166, IBM-1167, IBM-1364, IBM-1371, IBM-1388, IBM-1390, IBM-1399, IBM-4517, IBM-4899, IBM-4909, IBM-4971, IBM-5347, IBM-9030, IBM-9066, IBM-9448, IBM-12712, IBM-16804, IBM037, IBM038, IBM256, IBM273, IBM274, IBM275, IBM277, IBM278, IBM280, IBM281, IBM284, IBM285, IBM290, IBM297, IBM367, IBM420, IBM423, IBM424, IBM437, IBM500, IBM775, IBM803, IBM813, IBM819, IBM848, IBM850, IBM851, IBM852, IBM855, IBM856, IBM857, IBM860, IBM861, IBM862, IBM863, IBM864, IBM865, IBM866, IBM866NAV, IBM868, IBM869, IBM870, IBM871, IBM874, IBM875, IBM880, IBM891, IBM901, IBM902, IBM903, IBM904, IBM905, IBM912, IBM915, IBM916, IBM918, IBM920, IBM921, IBM922, IBM930, IBM932, IBM933, IBM935, IBM937, IBM939, IBM943, IBM1004, IBM1008, IBM1025, IBM1026, IBM1046, IBM1047, IBM1089, IBM1097, IBM1112, IBM1122, IBM1123, IBM1124, IBM1129, IBM1130, IBM1132, IBM1133, IBM1137, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1153, IBM1154, IBM1155, IBM1156, IBM1157, IBM1158, IBM1160, IBM1161, IBM1162, IBM1163, IBM1164, IBM1166, IBM1167, IBM1364, IBM1371, IBM1388, IBM1390, IBM1399, IBM4517, IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804, IEC_P27-1, IEC_P271, INIS-8, INIS-CYRILLIC, INIS, INIS8, INISCYRILLIC, ISIRI-3342, ISIRI3342, ISO-2022-CN-EXT, ISO-2022-CN, ISO-2022-JP-2, ISO-2022-JP-3, ISO-2022-JP, ISO-2022-KR, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-9E, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16, ISO-10646-UCS-2, ISO-10646, ISO-10646/UCS2, ISO-10646/UCS4, ISO-10646/UTF-8, ISO-10646/UTF8, ISO-CELTIC, ISO-IR-4, ISO-IR-6, ISO-IR-8-1, ISO-IR-9-1, ISO-IR-10, ISO-IR-11, ISO-IR-14, ISO-IR-15, ISO-IR-16, ISO-IR-17, ISO-IR-18, ISO-IR-19, ISO-IR-21, ISO-IR-25, ISO-IR-27, ISO-IR-37, ISO-IR-49, ISO-IR-50, ISO-IR-51, ISO-IR-54, ISO-IR-55, ISO-IR-57, ISO-IR-60, ISO-IR-61, ISO-IR-69, ISO-IR-84, ISO-IR-85, ISO-IR-86, ISO-IR-88, ISO-IR-89, ISO-IR-90, ISO-IR-92, ISO-IR-98, ISO-IR-99, ISO-IR-100, ISO-IR-101, ISO-IR-103, ISO-IR-109, ISO-IR-110, ISO-IR-111, ISO-IR-121, ISO-IR-122, ISO-IR-126, ISO-IR-127, ISO-IR-138, ISO-IR-139, ISO-IR-141, ISO-IR-143, ISO-IR-144, ISO-IR-148, ISO-IR-150, ISO-IR-151, ISO-IR-153, ISO-IR-155, ISO-IR-156, ISO-IR-157, ISO-IR-166, ISO-IR-179, ISO-IR-193, ISO-IR-197, ISO-IR-199, ISO-IR-203, ISO-IR-209, ISO-IR-226, ISO/TR_11548-1, ISO646-CA, ISO646-CA2, ISO646-CN, ISO646-CU, ISO646-DE, ISO646-DK, ISO646-ES, ISO646-ES2, ISO646-FI, ISO646-FR, ISO646-FR1, ISO646-GB, ISO646-HU, ISO646-IT, ISO646-JP-OCR-B, ISO646-JP, ISO646-KR, ISO646-NO, ISO646-NO2, ISO646-PT, ISO646-PT2, ISO646-SE, ISO646-SE2, ISO646-US, ISO646-YU, ISO2022CN, ISO2022CNEXT, ISO2022JP, ISO2022JP2, ISO2022KR, ISO6937, ISO8859-1, ISO8859-2, ISO8859-3, ISO8859-4, ISO8859-5, ISO8859-6, ISO8859-7, ISO8859-8, ISO8859-9, ISO8859-9E, ISO8859-10, ISO8859-11, ISO8859-13, ISO8859-14, ISO8859-15, ISO8859-16, ISO11548-1, ISO88591, ISO88592, ISO88593, ISO88594, ISO88595, ISO88596, ISO88597, ISO88598, ISO88599, ISO88599E, ISO885910, ISO885911, ISO885913, ISO885914, ISO885915, ISO885916, ISO_646.IRV:1991, ISO_2033-1983, ISO_2033, ISO_5427-EXT, ISO_5427, ISO_5427:1981, ISO_5427EXT, ISO_5428, ISO_5428:1980, ISO_6937-2, ISO_6937-2:1983, ISO_6937, ISO_6937:1992, ISO_8859-1, ISO_8859-1:1987, ISO_8859-2, ISO_8859-2:1987, ISO_8859-3, ISO_8859-3:1988, ISO_8859-4, ISO_8859-4:1988, ISO_8859-5, ISO_8859-5:1988, ISO_8859-6, ISO_8859-6:1987, ISO_8859-7, ISO_8859-7:1987, ISO_8859-7:2003, ISO_8859-8, ISO_8859-8:1988, ISO_8859-9, ISO_8859-9:1989, ISO_8859-9E, ISO_8859-10, ISO_8859-10:1992, ISO_8859-14, ISO_8859-14:1998, ISO_8859-15, ISO_8859-15:1998, ISO_8859-16, ISO_8859-16:2001, ISO_9036, ISO_10367-BOX, ISO_10367BOX, ISO_11548-1, ISO_69372, IT, JIS_C6220-1969-RO, JIS_C6229-1984-B, JIS_C62201969RO, JIS_C62291984B, JOHAB, JP-OCR-B, JP, JS, JUS_I.B1.002, KOI-7, KOI-8, KOI8-R, KOI8-RU, KOI8-T, KOI8-U, KOI8, KOI8R, KOI8U, KSC5636, L1, L2, L3, L4, L5, L6, L7, L8, L10, LATIN-9, LATIN-GREEK-1, LATIN-GREEK, LATIN1, LATIN2, LATIN3, LATIN4, LATIN5, LATIN6, LATIN7, LATIN8, LATIN9, LATIN10, LATINGREEK, LATINGREEK1, MAC-CENTRALEUROPE, MAC-CYRILLIC, MAC-IS, MAC-SAMI, MAC-UK, MAC, MACCYRILLIC, MACINTOSH, MACIS, MACUK, MACUKRAINIAN, MIK, MS-ANSI, MS-ARAB, MS-CYRL, MS-EE, MS-GREEK, MS-HEBR, MS-MAC-CYRILLIC, MS-TURK, MS932, MS936, MSCP949, MSCP1361, MSMACCYRILLIC, MSZ_7795.3, MS_KANJI, NAPLPS, NATS-DANO, NATS-SEFI, NATSDANO, NATSSEFI, NC_NC0010, NC_NC00-10, NC_NC00-10:81, NF_Z_62-010, NF_Z_62-010_(1973), NF_Z_62-010_1973, NF_Z_62010, NF_Z_62010_1973, NO, NO2, NS_4551-1, NS_4551-2, NS_45511, NS_45512, OS2LATIN1, OSF00010001, OSF00010002, OSF00010003, OSF00010004, OSF00010005, OSF00010006, OSF00010007, OSF00010008, OSF00010009, OSF0001000A, OSF00010020, OSF00010100, OSF00010101, OSF00010102, OSF00010104, OSF00010105, OSF00010106, OSF00030010, OSF0004000A, OSF0005000A, OSF05010001, OSF100201A4, OSF100201A8, OSF100201B5, OSF100201F4, OSF100203B5, OSF1002011C, OSF1002011D, OSF1002035D, OSF1002035E, OSF1002035F, OSF1002036B, OSF1002037B, OSF10010001, OSF10010004, OSF10010006, OSF10020025, OSF10020111, OSF10020115, OSF10020116, OSF10020118, OSF10020122, OSF10020129, OSF10020352, OSF10020354, OSF10020357, OSF10020359, OSF10020360, OSF10020364, OSF10020365, OSF10020366, OSF10020367, OSF10020370, OSF10020387, OSF10020388, OSF10020396, OSF10020402, OSF10020417, PT, PT2, PT154, R8, R9, RK1048, ROMAN8, ROMAN9, RUSCII, SE, SE2, SEN_850200_B, SEN_850200_C, SHIFT-JIS, SHIFT_JIS, SHIFT_JISX0213, SJIS-OPEN, SJIS-WIN, SJIS, SS636127, STRK1048-2002, ST_SEV_358-88, T.61-8BIT, T.61, T.618BIT, TCVN-5712, TCVN, TCVN5712-1, TCVN5712-1:1993, THAI8, TIS-620, TIS620-0, TIS620.2529-1, TIS620.2533-0, TIS620, TS-5881, TSCII, TURKISH8, UCS-2, UCS-2BE, UCS-2LE, UCS-4, UCS-4BE, UCS-4LE, UCS2, UCS4, UHC, UJIS, UK, UNICODE, UNICODEBIG, UNICODELITTLE, US-ASCII, US, UTF-7, UTF-8, UTF-16, UTF-16BE, UTF-16LE, UTF-32, UTF-32BE, UTF-32LE, UTF7, UTF8, UTF16, UTF16BE, UTF16LE, UTF32, UTF32BE, UTF32LE, VISCII, WCHAR_T, WIN-SAMI-2, WINBALTRIM, WINDOWS-31J, WINDOWS-874, WINDOWS-936, WINDOWS-1250, WINDOWS-1251, WINDOWS-1252, WINDOWS-1253, WINDOWS-1254, WINDOWS-1255, WINDOWS-1256, WINDOWS-1257, WINDOWS-1258, WINSAMI2, WS2, YU.
(gdb) PASS: gdb.base/charset.exp: capture valid target charsets
set host-charset ASCII
(gdb) PASS: gdb.base/charset.exp: try `set host-charset ASCII'
show charset
The host character set is "ASCII".
The target character set is "auto; currently ANSI_X3.4-1968".
The target wide character set is "auto; currently UTF-32".
(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 ASCII
(gdb) PASS: gdb.base/charset.exp: try `set target-charset ASCII'
show charset
The host character set is "ASCII".
The target character set is "ASCII".
The target wide character set is "auto; currently UTF-32".
(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 ISO-8859-1
(gdb) PASS: gdb.base/charset.exp: try `set target-charset ISO-8859-1'
show charset
The host character set is "ASCII".
The target character set is "ISO-8859-1".
The target wide character set is "auto; currently UTF-32".
(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 EBCDIC-US
(gdb) PASS: gdb.base/charset.exp: try `set target-charset EBCDIC-US'
show charset
The host character set is "ASCII".
The target character set is "EBCDIC-US".
The target wide character set is "auto; currently UTF-32".
(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 target-charset IBM1047
(gdb) PASS: gdb.base/charset.exp: try `set target-charset IBM1047'
show charset
The host character set is "ASCII".
The target character set is "IBM1047".
The target wide character set is "auto; currently UTF-32".
(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 host-charset ISO-8859-1
(gdb) PASS: gdb.base/charset.exp: try `set host-charset ISO-8859-1'
show charset
The host character set is "ISO-8859-1".
The target character set is "IBM1047".
The target wide character set is "auto; currently UTF-32".
(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 ASCII
(gdb) PASS: gdb.base/charset.exp: try `set target-charset ASCII'
show charset
The host character set is "ISO-8859-1".
The target character set is "ASCII".
The target wide character set is "auto; currently UTF-32".
(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 ISO-8859-1
(gdb) PASS: gdb.base/charset.exp: try `set target-charset ISO-8859-1'
show charset
The host character set is "ISO-8859-1".
The target character set is "ISO-8859-1".
The target wide character set is "auto; currently UTF-32".
(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 EBCDIC-US
(gdb) PASS: gdb.base/charset.exp: try `set target-charset EBCDIC-US'
show charset
The host character set is "ISO-8859-1".
The target character set is "EBCDIC-US".
The target wide character set is "auto; currently UTF-32".
(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 target-charset IBM1047
(gdb) PASS: gdb.base/charset.exp: try `set target-charset IBM1047'
show charset
The host character set is "ISO-8859-1".
The target character set is "IBM1047".
The target wide character set is "auto; currently UTF-32".
(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 host-charset EBCDIC-US
(gdb) PASS: gdb.base/charset.exp: try `set host-charset EBCDIC-US'
show charset
The host character set is "EBCDIC-US".
The target character set is "IBM1047".
The target wide character set is "auto; currently UTF-32".
(gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set host-charset EBCDIC-US'
PASS: gdb.base/charset.exp: check effect of `set host-charset EBCDIC-US'
set target-charset ASCII
(gdb) PASS: gdb.base/charset.exp: try `set target-charset ASCII'
show charset
The host character set is "EBCDIC-US".
The target character set is "ASCII".
The target wide character set is "auto; currently UTF-32".
(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 ISO-8859-1
(gdb) PASS: gdb.base/charset.exp: try `set target-charset ISO-8859-1'
show charset
The host character set is "EBCDIC-US".
The target character set is "ISO-8859-1".
The target wide character set is "auto; currently UTF-32".
(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 EBCDIC-US
(gdb) PASS: gdb.base/charset.exp: try `set target-charset EBCDIC-US'
show charset
The host character set is "EBCDIC-US".
The target character set is "EBCDIC-US".
The target wide character set is "auto; currently UTF-32".
(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 target-charset IBM1047
(gdb) PASS: gdb.base/charset.exp: try `set target-charset IBM1047'
show charset
The host character set is "EBCDIC-US".
The target character set is "IBM1047".
The target wide character set is "auto; currently UTF-32".
(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 host-charset IBM1047
(gdb) PASS: gdb.base/charset.exp: try `set host-charset IBM1047'
show charset
The host character set is "IBM1047".
The target character set is "IBM1047".
The target wide character set is "auto; currently UTF-32".
(gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set host-charset IBM1047'
PASS: gdb.base/charset.exp: check effect of `set host-charset IBM1047'
set target-charset ASCII
(gdb) PASS: gdb.base/charset.exp: try `set target-charset ASCII'
show charset
The host character set is "IBM1047".
The target character set is "ASCII".
The target wide character set is "auto; currently UTF-32".
(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 ISO-8859-1
(gdb) PASS: gdb.base/charset.exp: try `set target-charset ISO-8859-1'
show charset
The host character set is "IBM1047".
The target character set is "ISO-8859-1".
The target wide character set is "auto; currently UTF-32".
(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 EBCDIC-US
(gdb) PASS: gdb.base/charset.exp: try `set target-charset EBCDIC-US'
show charset
The host character set is "IBM1047".
The target character set is "EBCDIC-US".
The target wide character set is "auto; currently UTF-32".
(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 target-charset IBM1047
(gdb) PASS: gdb.base/charset.exp: try `set target-charset IBM1047'
show charset
The host character set is "IBM1047".
The target character set is "IBM1047".
The target wide character set is "auto; currently UTF-32".
(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'
break charset.c:187
Breakpoint 1 at 0x29a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/charset.c, line 187.
(gdb) PASS: gdb.base/charset.exp: set breakpoint after all strings have been initialized
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x3134 lma 0x2028
Loading section .fini, size 0x1c lma 0x515c
Loading section .rodata, size 0x6 lma 0x5178
Loading section .eh_frame, size 0x4 lma 0x6000
Loading section .ctors, size 0x8 lma 0x6004
Loading section .dtors, size 0x8 lma 0x600c
Loading section .jcr, size 0x4 lma 0x6014
Loading section .data, size 0xc74 lma 0x6018
Start address 0x100
Transfer rate: 192592 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/charset/charset
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/charset.c:187
187 return 0; /* all strings initialized */
(gdb) PASS: gdb.base/charset.exp: run until all strings have been initialized
print /d sizeof (wchar_t)
$1 = 4
(gdb) PASS: gdb.base/charset.exp: get integer valueof "sizeof (wchar_t)" (4)
set host-charset ASCII
(gdb) PASS: gdb.base/charset.exp: set host-charset ASCII
set target-charset ASCII
(gdb) PASS: gdb.base/charset.exp: set target-charset ASCII
print '\0'
$2 = 0 '\000'
(gdb) PASS: gdb.base/charset.exp: print the null character in ASCII
print ascii_string
$3 = "\a\b\f\n\r\t\vABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789x\021"
(gdb) PASS: gdb.base/charset.exp: print string in ASCII
print 'A'
$4 = 65 'A'
(gdb) PASS: gdb.base/charset.exp: parse character literal in ASCII
print 'A' == ascii_string[7]
$5 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed character literal in ASCII
print "abcdefABCDEF012345"
$6 = "abcdefABCDEF012345"
(gdb) PASS: gdb.base/charset.exp: parse string literal in ASCII
print "q"[0] == ascii_string[49]
$7 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed string literal in ASCII
print ascii_string[0]
$8 = 7 '\a'
(gdb) PASS: gdb.base/charset.exp: try printing '\a' in ASCII
print '\a' == ascii_string[0]
$9 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\a' in ASCII
print "\a"[0] == ascii_string[0]
$10 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\a" in ASCII
print ascii_string[1]
$11 = 8 '\b'
(gdb) PASS: gdb.base/charset.exp: try printing '\b' in ASCII
print '\b' == ascii_string[1]
$12 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\b' in ASCII
print "\b"[0] == ascii_string[1]
$13 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\b" in ASCII
print ascii_string[2]
$14 = 12 '\f'
(gdb) PASS: gdb.base/charset.exp: try printing '\f' in ASCII
print '\f' == ascii_string[2]
$15 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\f' in ASCII
print "\f"[0] == ascii_string[2]
$16 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\f" in ASCII
print ascii_string[3]
$17 = 10 '\n'
(gdb) PASS: gdb.base/charset.exp: try printing '\n' in ASCII
print '\n' == ascii_string[3]
$18 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\n' in ASCII
print "\n"[0] == ascii_string[3]
$19 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\n" in ASCII
print ascii_string[4]
$20 = 13 '\r'
(gdb) PASS: gdb.base/charset.exp: try printing '\r' in ASCII
print '\r' == ascii_string[4]
$21 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\r' in ASCII
print "\r"[0] == ascii_string[4]
$22 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\r" in ASCII
print ascii_string[5]
$23 = 9 '\t'
(gdb) PASS: gdb.base/charset.exp: try printing '\t' in ASCII
print '\t' == ascii_string[5]
$24 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\t' in ASCII
print "\t"[0] == ascii_string[5]
$25 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\t" in ASCII
print ascii_string[6]
$26 = 11 '\v'
(gdb) PASS: gdb.base/charset.exp: try printing '\v' in ASCII
print '\v' == ascii_string[6]
$27 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\v' in ASCII
print "\v"[0] == ascii_string[6]
$28 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\v" in ASCII
print '\q'
$29 = 113 'q'
(gdb) PASS: gdb.base/charset.exp: print escape that doesn't exist in ASCII
print '\q' == ascii_string[49]
$30 = 1
(gdb) PASS: gdb.base/charset.exp: check value of escape that doesn't exist in ASCII
set target-charset ISO-8859-1
(gdb) PASS: gdb.base/charset.exp: set target-charset ISO-8859-1
print '\0'
$31 = 0 '\000'
(gdb) PASS: gdb.base/charset.exp: print the null character in ISO-8859-1
print iso_8859_1_string
$32 = "\a\b\f\n\r\t\vABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\242\021"
(gdb) PASS: gdb.base/charset.exp: print string in ISO-8859-1
print 'A'
$33 = 65 'A'
(gdb) PASS: gdb.base/charset.exp: parse character literal in ISO-8859-1
print 'A' == iso_8859_1_string[7]
$34 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed character literal in ISO-8859-1
print "abcdefABCDEF012345"
$35 = "abcdefABCDEF012345"
(gdb) PASS: gdb.base/charset.exp: parse string literal in ISO-8859-1
print "q"[0] == iso_8859_1_string[49]
$36 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed string literal in ISO-8859-1
print iso_8859_1_string[0]
$37 = 7 '\a'
(gdb) PASS: gdb.base/charset.exp: try printing '\a' in ISO-8859-1
print '\a' == iso_8859_1_string[0]
$38 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\a' in ISO-8859-1
print "\a"[0] == iso_8859_1_string[0]
$39 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\a" in ISO-8859-1
print iso_8859_1_string[1]
$40 = 8 '\b'
(gdb) PASS: gdb.base/charset.exp: try printing '\b' in ISO-8859-1
print '\b' == iso_8859_1_string[1]
$41 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\b' in ISO-8859-1
print "\b"[0] == iso_8859_1_string[1]
$42 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\b" in ISO-8859-1
print iso_8859_1_string[2]
$43 = 12 '\f'
(gdb) PASS: gdb.base/charset.exp: try printing '\f' in ISO-8859-1
print '\f' == iso_8859_1_string[2]
$44 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\f' in ISO-8859-1
print "\f"[0] == iso_8859_1_string[2]
$45 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\f" in ISO-8859-1
print iso_8859_1_string[3]
$46 = 10 '\n'
(gdb) PASS: gdb.base/charset.exp: try printing '\n' in ISO-8859-1
print '\n' == iso_8859_1_string[3]
$47 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\n' in ISO-8859-1
print "\n"[0] == iso_8859_1_string[3]
$48 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\n" in ISO-8859-1
print iso_8859_1_string[4]
$49 = 13 '\r'
(gdb) PASS: gdb.base/charset.exp: try printing '\r' in ISO-8859-1
print '\r' == iso_8859_1_string[4]
$50 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\r' in ISO-8859-1
print "\r"[0] == iso_8859_1_string[4]
$51 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\r" in ISO-8859-1
print iso_8859_1_string[5]
$52 = 9 '\t'
(gdb) PASS: gdb.base/charset.exp: try printing '\t' in ISO-8859-1
print '\t' == iso_8859_1_string[5]
$53 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\t' in ISO-8859-1
print "\t"[0] == iso_8859_1_string[5]
$54 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\t" in ISO-8859-1
print iso_8859_1_string[6]
$55 = 11 '\v'
(gdb) PASS: gdb.base/charset.exp: try printing '\v' in ISO-8859-1
print '\v' == iso_8859_1_string[6]
$56 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\v' in ISO-8859-1
print "\v"[0] == iso_8859_1_string[6]
$57 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\v" in ISO-8859-1
print '\q'
$58 = 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]
$59 = 1
(gdb) PASS: gdb.base/charset.exp: check value of escape that doesn't exist in ISO-8859-1
set target-charset EBCDIC-US
(gdb) PASS: gdb.base/charset.exp: set target-charset EBCDIC-US
print '\0'
$60 = 0 '\000'
(gdb) PASS: gdb.base/charset.exp: print the null character in EBCDIC-US
print ebcdic_us_string
$61 = "\a\b\f\n\r\t\vABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\112\021"
(gdb) PASS: gdb.base/charset.exp: print string in EBCDIC-US
print 'A'
$62 = -63 'A'
(gdb) PASS: gdb.base/charset.exp: parse character literal in EBCDIC-US
print 'A' == ebcdic_us_string[7]
$63 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed character literal in EBCDIC-US
print "abcdefABCDEF012345"
$64 = "abcdefABCDEF012345"
(gdb) PASS: gdb.base/charset.exp: parse string literal in EBCDIC-US
print "q"[0] == ebcdic_us_string[49]
$65 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed string literal in EBCDIC-US
print ebcdic_us_string[0]
$66 = 47 '\a'
(gdb) PASS: gdb.base/charset.exp: try printing '\a' in EBCDIC-US
print '\a' == ebcdic_us_string[0]
$67 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\a' in EBCDIC-US
print "\a"[0] == ebcdic_us_string[0]
$68 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\a" in EBCDIC-US
print ebcdic_us_string[1]
$69 = 22 '\b'
(gdb) PASS: gdb.base/charset.exp: try printing '\b' in EBCDIC-US
print '\b' == ebcdic_us_string[1]
$70 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\b' in EBCDIC-US
print "\b"[0] == ebcdic_us_string[1]
$71 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\b" in EBCDIC-US
print ebcdic_us_string[2]
$72 = 12 '\f'
(gdb) PASS: gdb.base/charset.exp: try printing '\f' in EBCDIC-US
print '\f' == ebcdic_us_string[2]
$73 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\f' in EBCDIC-US
print "\f"[0] == ebcdic_us_string[2]
$74 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\f" in EBCDIC-US
print ebcdic_us_string[3]
$75 = 37 '\n'
(gdb) PASS: gdb.base/charset.exp: try printing '\n' in EBCDIC-US
print '\n' == ebcdic_us_string[3]
$76 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\n' in EBCDIC-US
print "\n"[0] == ebcdic_us_string[3]
$77 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\n" in EBCDIC-US
print ebcdic_us_string[4]
$78 = 13 '\r'
(gdb) PASS: gdb.base/charset.exp: try printing '\r' in EBCDIC-US
print '\r' == ebcdic_us_string[4]
$79 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\r' in EBCDIC-US
print "\r"[0] == ebcdic_us_string[4]
$80 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\r" in EBCDIC-US
print ebcdic_us_string[5]
$81 = 5 '\t'
(gdb) PASS: gdb.base/charset.exp: try printing '\t' in EBCDIC-US
print '\t' == ebcdic_us_string[5]
$82 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\t' in EBCDIC-US
print "\t"[0] == ebcdic_us_string[5]
$83 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\t" in EBCDIC-US
print ebcdic_us_string[6]
$84 = 11 '\v'
(gdb) PASS: gdb.base/charset.exp: try printing '\v' in EBCDIC-US
print '\v' == ebcdic_us_string[6]
$85 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\v' in EBCDIC-US
print "\v"[0] == ebcdic_us_string[6]
$86 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\v" in EBCDIC-US
print '\q'
$87 = -104 'q'
(gdb) PASS: gdb.base/charset.exp: print escape that doesn't exist in EBCDIC-US
print '\q' == ebcdic_us_string[49]
$88 = 1
(gdb) PASS: gdb.base/charset.exp: check value of escape that doesn't exist in EBCDIC-US
set target-charset IBM1047
(gdb) PASS: gdb.base/charset.exp: set target-charset IBM1047
print '\0'
$89 = 0 '\000'
(gdb) PASS: gdb.base/charset.exp: print the null character in IBM1047
print ibm1047_string
$90 = "\a\b\f\n\r\t\vABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\112\021"
(gdb) PASS: gdb.base/charset.exp: print string in IBM1047
print 'A'
$91 = -63 'A'
(gdb) PASS: gdb.base/charset.exp: parse character literal in IBM1047
print 'A' == ibm1047_string[7]
$92 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed character literal in IBM1047
print "abcdefABCDEF012345"
$93 = "abcdefABCDEF012345"
(gdb) PASS: gdb.base/charset.exp: parse string literal in IBM1047
print "q"[0] == ibm1047_string[49]
$94 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed string literal in IBM1047
print ibm1047_string[0]
$95 = 47 '\a'
(gdb) PASS: gdb.base/charset.exp: try printing '\a' in IBM1047
print '\a' == ibm1047_string[0]
$96 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\a' in IBM1047
print "\a"[0] == ibm1047_string[0]
$97 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\a" in IBM1047
print ibm1047_string[1]
$98 = 22 '\b'
(gdb) PASS: gdb.base/charset.exp: try printing '\b' in IBM1047
print '\b' == ibm1047_string[1]
$99 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\b' in IBM1047
print "\b"[0] == ibm1047_string[1]
$100 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\b" in IBM1047
print ibm1047_string[2]
$101 = 12 '\f'
(gdb) PASS: gdb.base/charset.exp: try printing '\f' in IBM1047
print '\f' == ibm1047_string[2]
$102 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\f' in IBM1047
print "\f"[0] == ibm1047_string[2]
$103 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\f" in IBM1047
print ibm1047_string[3]
$104 = 37 '\n'
(gdb) PASS: gdb.base/charset.exp: try printing '\n' in IBM1047
print '\n' == ibm1047_string[3]
$105 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\n' in IBM1047
print "\n"[0] == ibm1047_string[3]
$106 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\n" in IBM1047
print ibm1047_string[4]
$107 = 13 '\r'
(gdb) PASS: gdb.base/charset.exp: try printing '\r' in IBM1047
print '\r' == ibm1047_string[4]
$108 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\r' in IBM1047
print "\r"[0] == ibm1047_string[4]
$109 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\r" in IBM1047
print ibm1047_string[5]
$110 = 5 '\t'
(gdb) PASS: gdb.base/charset.exp: try printing '\t' in IBM1047
print '\t' == ibm1047_string[5]
$111 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\t' in IBM1047
print "\t"[0] == ibm1047_string[5]
$112 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\t" in IBM1047
print ibm1047_string[6]
$113 = 11 '\v'
(gdb) PASS: gdb.base/charset.exp: try printing '\v' in IBM1047
print '\v' == ibm1047_string[6]
$114 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\v' in IBM1047
print "\v"[0] == ibm1047_string[6]
$115 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\v" in IBM1047
print '\q'
$116 = -104 'q'
(gdb) PASS: gdb.base/charset.exp: print escape that doesn't exist in IBM1047
print '\q' == ibm1047_string[49]
$117 = 1
(gdb) PASS: gdb.base/charset.exp: check value of escape that doesn't exist in IBM1047
set target-wide-charset UTF-32
(gdb) PASS: gdb.base/charset.exp: set target-wide-charset UTF-32
print L'\0'
$118 = 0 L'\000'
(gdb) PASS: gdb.base/charset.exp: print the null character in UTF-32
print utf_32_string
$119 = L"\a\b\f\n\r\t\vABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\242\021"
(gdb) PASS: gdb.base/charset.exp: print string in UTF-32
print L'A'
$120 = 65 L'A'
(gdb) PASS: gdb.base/charset.exp: parse character literal in UTF-32
print L'A' == utf_32_string[7]
$121 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed character literal in UTF-32
print L"abcdefABCDEF012345"
$122 = L"abcdefABCDEF012345"
(gdb) PASS: gdb.base/charset.exp: parse string literal in UTF-32
print L"q"[0] == utf_32_string[49]
$123 = 1
(gdb) PASS: gdb.base/charset.exp: check value of parsed string literal in UTF-32
print utf_32_string[0]
$124 = 7 L'\a'
(gdb) PASS: gdb.base/charset.exp: try printing '\a' in UTF-32
print L'\a' == utf_32_string[0]
$125 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\a' in UTF-32
print L"\a"[0] == utf_32_string[0]
$126 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\a" in UTF-32
print utf_32_string[1]
$127 = 8 L'\b'
(gdb) PASS: gdb.base/charset.exp: try printing '\b' in UTF-32
print L'\b' == utf_32_string[1]
$128 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\b' in UTF-32
print L"\b"[0] == utf_32_string[1]
$129 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\b" in UTF-32
print utf_32_string[2]
$130 = 12 L'\f'
(gdb) PASS: gdb.base/charset.exp: try printing '\f' in UTF-32
print L'\f' == utf_32_string[2]
$131 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\f' in UTF-32
print L"\f"[0] == utf_32_string[2]
$132 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\f" in UTF-32
print utf_32_string[3]
$133 = 10 L'\n'
(gdb) PASS: gdb.base/charset.exp: try printing '\n' in UTF-32
print L'\n' == utf_32_string[3]
$134 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\n' in UTF-32
print L"\n"[0] == utf_32_string[3]
$135 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\n" in UTF-32
print utf_32_string[4]
$136 = 13 L'\r'
(gdb) PASS: gdb.base/charset.exp: try printing '\r' in UTF-32
print L'\r' == utf_32_string[4]
$137 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\r' in UTF-32
print L"\r"[0] == utf_32_string[4]
$138 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\r" in UTF-32
print utf_32_string[5]
$139 = 9 L'\t'
(gdb) PASS: gdb.base/charset.exp: try printing '\t' in UTF-32
print L'\t' == utf_32_string[5]
$140 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\t' in UTF-32
print L"\t"[0] == utf_32_string[5]
$141 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\t" in UTF-32
print utf_32_string[6]
$142 = 11 L'\v'
(gdb) PASS: gdb.base/charset.exp: try printing '\v' in UTF-32
print L'\v' == utf_32_string[6]
$143 = 1
(gdb) PASS: gdb.base/charset.exp: check value of '\v' in UTF-32
print L"\v"[0] == utf_32_string[6]
$144 = 1
(gdb) PASS: gdb.base/charset.exp: check value of "\v" in UTF-32
print L'\q'
$145 = 113 L'q'
(gdb) PASS: gdb.base/charset.exp: print escape that doesn't exist in UTF-32
print L'\q' == utf_32_string[49]
$146 = 1
(gdb) PASS: gdb.base/charset.exp: check value of escape that doesn't exist in UTF-32
set target-charset UTF-8
(gdb) PASS: gdb.base/charset.exp: set target-charset UTF-8
print "\242"
$147 = "\242"
(gdb) PASS: gdb.base/charset.exp: non-representable target character
print '\x'
\x escape without a following hex digit
(gdb) PASS: gdb.base/charset.exp: print '\x'
print '\u'
\u escape without a following hex digit
(gdb) PASS: gdb.base/charset.exp: print '\u'
print '\9'
$148 = 57 '9'
(gdb) PASS: gdb.base/charset.exp: print '\9'
print "\1011"
$149 = "A1"
(gdb) PASS: gdb.base/charset.exp: print "\1011"
print L"ab" L"c"
$150 = L"abc"
(gdb) PASS: gdb.base/charset.exp: basic wide string concatenation
print L"ab" "c"
$151 = L"abc"
(gdb) PASS: gdb.base/charset.exp: narrow and wide string concatenation
print "ab" L"c"
$152 = L"abc"
(gdb) PASS: gdb.base/charset.exp: wide and narrow string concatenation
print L"\xe" L"c"
$153 = L"\016c"
(gdb) PASS: gdb.base/charset.exp: wide string concatenation with escape
print L"" "abcdef" "g"
$154 = L"abcdefg"
(gdb) PASS: gdb.base/charset.exp: concatenate three strings with empty wide string
print L'a'
$155 = 97 L'a'
(gdb) PASS: gdb.base/charset.exp: basic wide character
print /d sizeof (char16_t)
$156 = 2
(gdb) PASS: gdb.base/charset.exp: get integer valueof "sizeof (char16_t)" (2)
print u"ab" u"c"
$157 = u"abc"
(gdb) PASS: gdb.base/charset.exp: basic UTF-16 string concatenation
print u"ab" "c"
$158 = u"abc"
(gdb) PASS: gdb.base/charset.exp: narrow and UTF-16 string concatenation
print "ab" u"c"
$159 = u"abc"
(gdb) PASS: gdb.base/charset.exp: UTF-16 and narrow string concatenation
print u"\xe" u"c"
$160 = u"\016c"
(gdb) PASS: gdb.base/charset.exp: UTF-16 string concatenation with escape
print u"" "abcdef" "g"
$161 = u"abcdefg"
(gdb) PASS: gdb.base/charset.exp: concatenate three strings with empty UTF-16 string
print u'a'
$162 = 97 u'a'
(gdb) PASS: gdb.base/charset.exp: basic UTF-16 character
print /d sizeof (char32_t)
$163 = 4
(gdb) PASS: gdb.base/charset.exp: get integer valueof "sizeof (char32_t)" (4)
print U"ab" U"c"
$164 = U"abc"
(gdb) PASS: gdb.base/charset.exp: basic UTF-32 string concatenation
print U"ab" "c"
$165 = U"abc"
(gdb) PASS: gdb.base/charset.exp: narrow and UTF-32 string concatenation
print "ab" U"c"
$166 = U"abc"
(gdb) PASS: gdb.base/charset.exp: UTF-32 and narrow string concatenation
print U"\xe" U"c"
$167 = U"\016c"
(gdb) PASS: gdb.base/charset.exp: UTF-32 string concatenation with escape
print U"" "abcdef" "g"
$168 = U"abcdefg"
(gdb) PASS: gdb.base/charset.exp: concatenate three strings with empty UTF-32 string
print U'a'
$169 = 97 U'a'
(gdb) PASS: gdb.base/charset.exp: basic UTF-32 character
print L"abc" u"def"
Undefined string concatenation.
(gdb) PASS: gdb.base/charset.exp: undefined concatenation of wide and UTF-16
print L"abc" U"def"
Undefined string concatenation.
(gdb) PASS: gdb.base/charset.exp: undefined concatenation of wide and UTF-32
print myvar
$170 = 65 L'A'
(gdb) PASS: gdb.base/charset.exp: typedef to wchar_t
print u"abc" U"def"
Undefined string concatenation.
(gdb) PASS: gdb.base/charset.exp: undefined concatenation of UTF-16 and UTF-32
python print ('hello, world!')
Python scripting is not supported in this copy of GDB.
(gdb) UNSUPPORTED: gdb.base/charset.exp: python support is disabled
print 'a' == 'a' || 'b' == 'b'
$171 = 1
(gdb) PASS: gdb.base/charset.exp: EVAL_SKIP cleanup handling regression test
set String16 = u"Test String\0with zeroes"
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: gdb.base/charset.exp: Assign String16 with prefix u
x /2hs String16
0x7110: u"Test String"
0x7128: u"with zeroes"
(gdb) PASS: gdb.base/charset.exp: Display String String16 with x/hs
set String32 = U"Test String\0with zeroes"
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: gdb.base/charset.exp: Assign String32 with prefix U
x /2ws String32
0x7148: U"Test String"
0x7178: U"with zeroes"
(gdb) PASS: gdb.base/charset.exp: Display String String32 with x/ws
set String32 = L"Test String\0with zeroes"
warning: Register ppc not updated
warning: Register sr not updated
(gdb) FAIL: gdb.base/charset.exp: Assign String32 with prefix L
x /2ws String32
0x71b0: U"Test String"
0x71e0: U"with zeroes"
(gdb) PASS: gdb.base/charset.exp: Display String String32 with x/ws
print short_array = "hi"
$172 = {26729, 0, 0}
(gdb) PASS: gdb.base/charset.exp: assign string to short array
print int_array = "hi"
$173 = {1751711744, 0, 0}
(gdb) PASS: gdb.base/charset.exp: assign string to int array
print long_array = "hi"
$174 = {1751711744, 0, 0}
(gdb) PASS: gdb.base/charset.exp: assign string to long array
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/charset.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/checkpoint-ns.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/checkpoint-ns.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/checkpoint.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/checkpoint.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/chng-syms.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/chng-syms.c -DVARIABLE=var1 -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/chng-syms/chng-syms (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/chng-syms.c -DVARIABLE=var1 -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/chng-syms/chng-syms
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/chng-syms/chng-syms
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/chng-syms/chng-syms...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a30 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a58
Loading section .rodata, size 0x6 lma 0x3a74
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 137136 bits in <1 sec.
(gdb) break stop_here if (var1 == 42)
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/chng-syms.c, line 14.
(gdb) PASS: gdb.base/chng-syms.exp: setting conditional breakpoint on function
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a30 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a58
Loading section .rodata, size 0x6 lma 0x3a74
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 137136 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/chng-syms/chng-syms
Breakpoint 1, stop_here () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/chng-syms.c:14
14 VARIABLE *= 2;
(gdb) PASS: gdb.base/chng-syms.exp: running to stop_here first time
continue
Continuing.
[Inferior 1 (process 42000) exited normally]
(gdb) PASS: gdb.base/chng-syms.exp: continue until exit at breakpoint first time through
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/chng-syms.c -DVARIABLE=var2 -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/chng-syms/chng-syms (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/chng-syms.c -DVARIABLE=var2 -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/chng-syms/chng-syms
target sim
Connected to the simulator.
(gdb) load
`/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/chng-syms/chng-syms' has changed; re-reading symbols.
warning: failed to reevaluate condition for breakpoint 1: No symbol "var1" in current context.
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x1a30 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a58
Loading section .rodata, size 0x6 lma 0x3a74
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 137136 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/chng-syms/chng-syms
warning: failed to reevaluate condition for breakpoint 1: No symbol "var1" in current context.
[Inferior 1 (process 42000) exited normally]
(gdb) PASS: gdb.base/chng-syms.exp: running with invalidated bpt condition after executable changes
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/chng-syms.exp completed in 2 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/code-expr.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/cvexpr.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code-expr/code-expr (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/cvexpr.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code-expr/code-expr
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code-expr/code-expr
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code-expr/code-expr...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x21d4 lma 0x2028
Loading section .fini, size 0x1c lma 0x41fc
Loading section .rodata, size 0x6 lma 0x4218
Loading section .eh_frame, size 0x4 lma 0x6220
Loading section .ctors, size 0x8 lma 0x6224
Loading section .dtors, size 0x8 lma 0x622c
Loading section .jcr, size 0x4 lma 0x6234
Loading section .data, size 0x864 lma 0x6238
Start address 0x100
Transfer rate: 152784 bits in <1 sec.
(gdb) set print sevenbit-strings
(gdb) PASS: gdb.base/code-expr.exp: set print sevenbit-strings
set print address off
(gdb) PASS: gdb.base/code-expr.exp: set print address off
set width 0
(gdb) PASS: gdb.base/code-expr.exp: set width 0
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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/code-expr.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/code_elim.exp ...
Executing on build: rm -f /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1 (timeout = 300)
spawn -ignore SIGHUP rm -f /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1
Executing on build: rm -f /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2 (timeout = 300)
spawn -ignore SIGHUP rm -f /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/code_elim1.c -ffunction-sections -fdata-sections -Wl,-gc-sections -Wl,-e,main -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/code_elim1.c -ffunction-sections -fdata-sections -Wl,-gc-sections -Wl,-e,main -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/code_elim2.c -ffunction-sections -fdata-sections -Wl,-gc-sections -Wl,-e,main -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/code_elim2.c -ffunction-sections -fdata-sections -Wl,-gc-sections -Wl,-e,main -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set height 0
(gdb) set width 0
(gdb) symbol-file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1...done.
(gdb) PASS: gdb.base/code_elim.exp: symbol-file code_elim1
print &my_global_symbol
$1 = (int *) 0x0
(gdb) FAIL: gdb.base/code_elim.exp: single psymtabs: test eliminated var my_global_symbol
print &my_static_symbol
$2 = (int *) 0x0
(gdb) FAIL: gdb.base/code_elim.exp: single psymtabs: test eliminated var my_static_symbol
print &my_global_func
$3 = (int (*)()) 0x0
(gdb) FAIL: gdb.base/code_elim.exp: single psymtabs: test eliminated var my_global_func
print &main
$4 = (int (*)()) 0x239c <main>
(gdb) PASS: gdb.base/code_elim.exp: single psymtabs: get address of main
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory --readnow /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1...expanding to full symbols...done.
(gdb) set height 0
(gdb) set width 0
(gdb) print &my_global_symbol
$1 = (int *) 0x0
(gdb) FAIL: gdb.base/code_elim.exp: single symtabs: test eliminated var my_global_symbol
print &my_static_symbol
$2 = (int *) 0x0
(gdb) FAIL: gdb.base/code_elim.exp: single symtabs: test eliminated var my_static_symbol
print &my_global_func
$3 = (int (*)()) 0x0
(gdb) FAIL: gdb.base/code_elim.exp: single symtabs: test eliminated var my_global_func
print &main
$4 = (int (*)()) 0x239c <main>
(gdb) PASS: gdb.base/code_elim.exp: single symtabs: get address of main
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set height 0
(gdb) set width 0
(gdb) add-symbol-file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1 0x100000 -s .bss 0x120000
add symbol table from file "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1" at
.text_addr = 0x100000
.bss_addr = 0x120000
(y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1...done.
(gdb) PASS: gdb.base/code_elim.exp: order1: add-symbol-file code_elim1 0x100000
add-symbol-file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2 0x200000 -s .data 0x210000 -s .bss 0x220000
add symbol table from file "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2" at
.text_addr = 0x200000
.data_addr = 0x210000
.bss_addr = 0x220000
(y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2...done.
(gdb) PASS: gdb.base/code_elim.exp: order1: add-symbol-file code_elim2 0x200000
print &my_global_symbol
$1 = (int *) 0x0
(gdb) PASS: gdb.base/code_elim.exp: order1: get address of my_global_symbol
FAIL: gdb.base/code_elim.exp: order1: my_global_symbol has null address
print &my_static_symbol
$2 = (int *) 0x0
(gdb) PASS: gdb.base/code_elim.exp: order1: get address of my_static_symbol
FAIL: gdb.base/code_elim.exp: order1: my_static_symbol has null address
print &my_global_func
$3 = (int (*)()) 0xfdfd8
(gdb) PASS: gdb.base/code_elim.exp: order1: get address of my_global_func
print &main
$4 = (int (*)()) 0x100374 <main>
(gdb) PASS: gdb.base/code_elim.exp: order1: get address of main
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set height 0
(gdb) set width 0
(gdb) add-symbol-file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2 0x200000 -s .data 0x210000 -s .bss 0x220000
add symbol table from file "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2" at
.text_addr = 0x200000
.data_addr = 0x210000
.bss_addr = 0x220000
(y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim2...done.
(gdb) PASS: gdb.base/code_elim.exp: order2: add-symbol-file code_elim2 0x200000
add-symbol-file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1 0x100000 -s .bss 0x120000
add symbol table from file "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1" at
.text_addr = 0x100000
.bss_addr = 0x120000
(y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/code_elim/code_elim1...done.
(gdb) PASS: gdb.base/code_elim.exp: order2: add-symbol-file code_elim1 0x100000
print &my_global_symbol
$1 = (int *) 0x210008 <my_global_symbol>
(gdb) PASS: gdb.base/code_elim.exp: order2: get address of my_global_symbol
print &my_static_symbol
$2 = (int *) 0x220020 <my_static_symbol>
(gdb) PASS: gdb.base/code_elim.exp: order2: get address of my_static_symbol
print &my_global_func
$3 = (int (*)()) 0x200374 <my_global_func>
(gdb) PASS: gdb.base/code_elim.exp: order2: get address of my_global_func
print &main
$4 = (int (*)()) 0x2003e0 <main>
(gdb) PASS: gdb.base/code_elim.exp: order2: get address of main
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/code_elim.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/command-line-input.exp ...
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set height 0
(gdb) set width 0
(gdb) print 1\
+ 2
$1 = 3
(gdb) PASS: gdb.base/command-line-input.exp: print 1\\n + 2
print 1\
2
$2 = 12
(gdb) PASS: gdb.base/command-line-input.exp: print 1\\n2
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/command-line-input.exp completed in 4 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/commands.exp ...
Executing on host: or1k-elf-gcc -DFAKEARGV -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -DFAKEARGV -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands0.o -DFAKEARGV -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands0.o -DFAKEARGV -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(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 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
Breakpoint 1, factorial (value=1) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break factorial
Breakpoint 2 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
Breakpoint 2, factorial (value=1) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break factorial
Breakpoint 3 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
Breakpoint 3, factorial (value=1) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break factorial
Breakpoint 4 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
Breakpoint 4, factorial (value=1) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) PASS: gdb.base/commands.exp: break factorial #1
commands
Type commands for breakpoint(s) 5, 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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 0x000024bc in factorial at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
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
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break factorial
Breakpoint 6 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
Breakpoint 6, factorial (value=1) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) PASS: gdb.base/commands.exp: break factorial if value == 5
commands
Type commands for breakpoint(s) 7, 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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 if (value > 1) {
36 value *= factorial (value - 1);
(gdb) PASS: gdb.base/commands.exp: continue 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 8 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
Breakpoint 8, factorial (value=1) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) PASS: gdb.base/commands.exp: break factorial #2
commands
Type commands for breakpoint(s) 9, 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: commands in breakpoint_command_test
continue
Continuing.
Breakpoint 9, factorial (value=5) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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
define myemptycommand
Type commands for definition of "myemptycommand".
End with a line saying just "end".
>PASS: gdb.base/commands.exp: define myemptycommand in user_defined_command_test
end
(gdb) PASS: gdb.base/commands.exp: end definition of user-defined command with empty body
myemptycommand
(gdb) PASS: gdb.base/commands.exp: execute user-defined empty command in user_defined_command_test
show user
User command "mycommand":
while $arg0 > 0
set $arg0 -= 1
if ($arg0 % 2) == 1
p/x 0xdeadbeef
else
p/x 0xfeedface
end
end
User command "myemptycommand":
(gdb) PASS: gdb.base/commands.exp: display empty command in command list in user_defined_command_test
show user myemptycommand
User command "myemptycommand":
(gdb) PASS: gdb.base/commands.exp: display user-defined empty command in user_defined_command_test
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break factorial
Breakpoint 10 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
Breakpoint 10, factorial (value=1) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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 breakpoint(s) 11, 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 = 9256
New value = 1
factorial (value=1) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:39
39 return (value);
$38 = 1
Watchpoint 11 deleted because the program has left the block in
which its expression is valid.
0x00002504 in factorial (value=0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:40
40 } /* commands.exp: local_var out of scope */
(gdb) PASS: gdb.base/commands.exp: continue with watch
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break factorial
Breakpoint 12 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
Breakpoint 12, factorial (value=1) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:35
35 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 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) PASS: gdb.base/commands.exp: break factorial #3
p value=5
$39 = 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
$40 = 0xdeadbeef
(gdb) PASS: gdb.base/commands.exp: if test in test_command_prompt_position
commands
Type commands for breakpoint(s) 13, 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'.
$41 = 5
(gdb) PASS: gdb.base/commands.exp: p deprecated warning, with replacement
p 5
$42 = 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'.
$43 = 5
(gdb) PASS: gdb.base/commands.exp: both alias and command are deprecated
p 5
$44 = 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
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break factorial
Breakpoint 14 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) PASS: gdb.base/commands.exp: breakpoint in bp_deleted_in_command_test
commands
Type commands for breakpoint(s) 14, 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
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
factorial command-list executed
1
[Inferior 1 (process 42000) exited normally]
(gdb) PASS: gdb.base/commands.exp: run factorial until breakpoint
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) tbreak factorial
Temporary breakpoint 15 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) PASS: gdb.base/commands.exp: breakpoint in temporary_breakpoint_commands
commands
Type commands for breakpoint(s) 15, 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
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
factorial tbreak commands executed
1
[Inferior 1 (process 42000) exited normally]
(gdb) PASS: gdb.base/commands.exp: run factorial until temporary breakpoint
print $arg0
$45 = void
(gdb) PASS: gdb.base/commands.exp: stray_arg0_test #1
if 1 == 1
>print $arg0
>end
$46 = void
(gdb) PASS: gdb.base/commands.exp: stray_arg0_test #2
print $arg0 = 1
$47 = 1
(gdb) PASS: gdb.base/commands.exp: stray_arg0_test #3
print $arg0
$48 = 1
(gdb) PASS: gdb.base/commands.exp: stray_arg0_test #4
source /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/file1
Done!
(gdb) PASS: gdb.base/commands.exp: source file with indented comment
source /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/file1
1: <<<qwerty>>>
in file3
2: <<<qwerty>>>
(gdb) PASS: gdb.base/commands.exp: recursive source test
set $tem = 1
(gdb) PASS: gdb.base/commands.exp: set $tem in if_commands_test
if $tem == 2
>PASS: gdb.base/commands.exp: if $tem == 2 - if_commands_test 1
break main
>PASS: gdb.base/commands.exp: break main - if_commands_test 1
else
>PASS: gdb.base/commands.exp: else - if_commands_test 1
break factorial
>PASS: gdb.base/commands.exp: break factorial - if_commands_test 1
commands
>PASS: gdb.base/commands.exp: commands - if_commands_test 1
silent
>PASS: gdb.base/commands.exp: silent - if_commands_test 1
set $tem = 3
>PASS: gdb.base/commands.exp: set $tem = 3 - if_commands_test 1
continue
>PASS: gdb.base/commands.exp: continue - if_commands_test 1
end
>PASS: gdb.base/commands.exp: first end - if_commands_test 1
end
Breakpoint 16 at 0x24bc: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 35.
(gdb) PASS: gdb.base/commands.exp: second end - if_commands_test 1
if $tem == 1
>PASS: gdb.base/commands.exp: if $tem == 1 - if_commands_test 2
break main
>PASS: gdb.base/commands.exp: break main - if_commands_test 2
else
>PASS: gdb.base/commands.exp: else - if_commands_test 2
break factorial
>PASS: gdb.base/commands.exp: break factorial - if_commands_test 2
commands
>PASS: gdb.base/commands.exp: commands - if_commands_test 2
silent
>PASS: gdb.base/commands.exp: silent - if_commands_test 2
set $tem = 3
>PASS: gdb.base/commands.exp: set $tem = 3 - if_commands_test 2
continue
>PASS: gdb.base/commands.exp: continue - if_commands_test 2
end
>PASS: gdb.base/commands.exp: first end - if_commands_test 2
end
Breakpoint 17 at 0x2460: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 16.
(gdb) PASS: gdb.base/commands.exp: second end - if_commands_test 2
define hook-stop
Type commands for definition of "hook-stop".
End with a line saying just "end".
>PASS: gdb.base/commands.exp: hook-stop 1
echo hook-stop1\n
>PASS: gdb.base/commands.exp: hook-stop 1a
end
(gdb) PASS: gdb.base/commands.exp: hook-stop 1b
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 18 at 0x2460: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 16.
(gdb) commands $bpnum
Type commands for breakpoint(s) $bpnum, one per line.
End with a line saying just "end".
>PASS: gdb.base/commands.exp: main commands 1
echo cmd1\n
>PASS: gdb.base/commands.exp: main commands 1a
errorcommandxy\n
>PASS: gdb.base/commands.exp: main commands 1b
end
(gdb) PASS: gdb.base/commands.exp: main commands 1c
break main
Note: breakpoint 18 also set at pc 0x2460.
Breakpoint 19 at 0x2460: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c, line 16.
(gdb) commands $bpnum
Type commands for breakpoint(s) $bpnum, one per line.
End with a line saying just "end".
>PASS: gdb.base/commands.exp: main commands 2
echo cmd2\n
>PASS: gdb.base/commands.exp: main commands 2a
errorcommandyz\n
>PASS: gdb.base/commands.exp: main commands 2b
end
(gdb) PASS: gdb.base/commands.exp: main commands 2c
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xfc68 lma 0x2028
Loading section .fini, size 0x1c lma 0x11c90
Loading section .rodata, size 0x680 lma 0x11cac
Loading section .eh_frame, size 0x4 lma 0x1432c
Loading section .ctors, size 0x8 lma 0x14330
Loading section .dtors, size 0x8 lma 0x14338
Loading section .jcr, size 0x4 lma 0x14340
Loading section .data, size 0xcf4 lma 0x14344
Start address 0x100
Transfer rate: 623040 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/commands/commands
hook-stop1
Breakpoint 18, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/run.c:16
16 gdb_unbuffer_output ();
cmd1
Undefined command: "errorcommandxy". Try "help".
(gdb) PASS: gdb.base/commands.exp: cmd1 error
echo idle\n
idle
(gdb) PASS: gdb.base/commands.exp: no cmd2
define one
Type commands for definition of "one".
End with a line saying just "end".
>end
(gdb) PASS: gdb.base/commands.exp: define one
define hook-one
Type commands for definition of "hook-one".
End with a line saying just "end".
>echo hibob\n
>end
(gdb) PASS: gdb.base/commands.exp: define hook-one
define one
Redefine command "one"? (y or n) y
Type commands for definition of "one".
End with a line saying just "end".
>PASS: gdb.base/commands.exp: define one in redefine_hook_test
end
(gdb) PASS: gdb.base/commands.exp: enter commands for one redefinition in redefine_hook_test
one
hibob
(gdb) PASS: gdb.base/commands.exp: execute one command in redefine_hook_test
define backtrace
Really redefine built-in command "backtrace"? (y or n) PASS: gdb.base/commands.exp: define backtrace
y
Type commands for definition of "backtrace".
End with a line saying just "end".
>PASS: gdb.base/commands.exp: expect response to define backtrace
echo hibob\n
>end
(gdb) PASS: gdb.base/commands.exp: enter commands in redefine_backtrace_test
backtrace
hibob
(gdb) PASS: gdb.base/commands.exp: execute backtrace command in redefine_backtrace_test
bt
hibob
(gdb) PASS: gdb.base/commands.exp: execute bt command in redefine_backtrace_test
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/commands.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/compare-sections.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/compare-sections.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/compare-sections.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0xa lma 0x3a34
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 136656 bits in <1 sec.
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections
Load new symbol table from "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections"? (y or n) y
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections...done.
(gdb) compare-sections
Section .vectors, range 0x0 -- 0x2000: matched.
Section .init, range 0x2000 -- 0x2028: matched.
Section .text, range 0x2028 -- 0x3a18: matched.
Section .fini, range 0x3a18 -- 0x3a34: matched.
Section .rodata, range 0x3a34 -- 0x3a3e: matched.
Section .eh_frame, range 0x4000 -- 0x4004: matched.
Section .ctors, range 0x4004 -- 0x400c: matched.
Section .dtors, range 0x400c -- 0x4014: matched.
Section .jcr, range 0x4014 -- 0x4018: matched.
Section .data, range 0x4018 -- 0x487c: matched.
(gdb) PASS: gdb.base/compare-sections.exp: after file: compare-sections
compare-sections -r
Section .vectors, range 0x0 -- 0x2000: matched.
Section .init, range 0x2000 -- 0x2028: matched.
Section .text, range 0x2028 -- 0x3a18: matched.
Section .fini, range 0x3a18 -- 0x3a34: matched.
Section .rodata, range 0x3a34 -- 0x3a3e: matched.
(gdb) PASS: gdb.base/compare-sections.exp: after file: compare-sections -r
target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0xa lma 0x3a34
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 136656 bits in <1 sec.
(gdb) compare-sections
Section .vectors, range 0x0 -- 0x2000: matched.
Section .init, range 0x2000 -- 0x2028: matched.
Section .text, range 0x2028 -- 0x3a18: matched.
Section .fini, range 0x3a18 -- 0x3a34: matched.
Section .rodata, range 0x3a34 -- 0x3a3e: matched.
Section .eh_frame, range 0x4000 -- 0x4004: matched.
Section .ctors, range 0x4004 -- 0x400c: matched.
Section .dtors, range 0x400c -- 0x4014: matched.
Section .jcr, range 0x4014 -- 0x4018: matched.
Section .data, range 0x4018 -- 0x487c: matched.
(gdb) PASS: gdb.base/compare-sections.exp: after reload: compare-sections
compare-sections -r
Section .vectors, range 0x0 -- 0x2000: matched.
Section .init, range 0x2000 -- 0x2028: matched.
Section .text, range 0x2028 -- 0x3a18: matched.
Section .fini, range 0x3a18 -- 0x3a34: matched.
Section .rodata, range 0x3a34 -- 0x3a3e: matched.
(gdb) PASS: gdb.base/compare-sections.exp: after reload: compare-sections -r
compare-sections .text
Section .text, range 0x2028 -- 0x3a18: matched.
(gdb) PASS: gdb.base/compare-sections.exp: compare-sections .text
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23a8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/compare-sections.c, line 25.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0x19f0 lma 0x2028
Loading section .fini, size 0x1c lma 0x3a18
Loading section .rodata, size 0xa lma 0x3a34
Loading section .eh_frame, size 0x4 lma 0x4000
Loading section .ctors, size 0x8 lma 0x4004
Loading section .dtors, size 0x8 lma 0x400c
Loading section .jcr, size 0x4 lma 0x4014
Loading section .data, size 0x864 lma 0x4018
Start address 0x100
Transfer rate: 136656 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/compare-sections.c:25
25 return 0;
(gdb) compare-sections
Section .vectors, range 0x0 -- 0x2000: matched.
Section .init, range 0x2000 -- 0x2028: matched.
Section .text, range 0x2028 -- 0x3a18: matched.
Section .fini, range 0x3a18 -- 0x3a34: matched.
Section .rodata, range 0x3a34 -- 0x3a3e: matched.
Section .eh_frame, range 0x4000 -- 0x4004: matched.
Section .ctors, range 0x4004 -- 0x400c: matched.
Section .dtors, range 0x400c -- 0x4014: matched.
Section .jcr, range 0x4014 -- 0x4018: matched.
Section .data, range 0x4018 -- 0x487c: MIS-MATCHED!
warning: One or more sections of the target image does not match
the loaded file
(gdb) PASS: gdb.base/compare-sections.exp: after run to main: compare-sections
compare-sections -r
Section .vectors, range 0x0 -- 0x2000: matched.
Section .init, range 0x2000 -- 0x2028: matched.
Section .text, range 0x2028 -- 0x3a18: matched.
Section .fini, range 0x3a18 -- 0x3a34: matched.
Section .rodata, range 0x3a34 -- 0x3a3e: matched.
(gdb) PASS: gdb.base/compare-sections.exp: after run to main: compare-sections -r
maint info sections READONLY
Exec file:
`/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/compare-sections/compare-sections', file type elf32-or1k.
[0] 0x0000->0x2000 at 0x00002000: .vectors ALLOC LOAD READONLY CODE HAS_CONTENTS
[1] 0x2000->0x2028 at 0x00004000: .init ALLOC LOAD READONLY CODE HAS_CONTENTS
[2] 0x2028->0x3a18 at 0x00004028: .text ALLOC LOAD READONLY CODE HAS_CONTENTS
[3] 0x3a18->0x3a34 at 0x00005a18: .fini ALLOC LOAD READONLY CODE HAS_CONTENTS
[4] 0x3a34->0x3a3e at 0x00005a34: .rodata ALLOC LOAD READONLY DATA HAS_CONTENTS
[11] 0x0000->0x0011 at 0x0000687c: .comment READONLY HAS_CONTENTS
[12] 0x0000->0x01d8 at 0x0000688d: .debug_aranges READONLY HAS_CONTENTS
[13] 0x0000->0x4e4c at 0x00006a65: .debug_info READONLY HAS_CONTENTS
[14] 0x0000->0x1501 at 0x0000b8b1: .debug_abbrev READONLY HAS_CONTENTS
[15] 0x0000->0x144b at 0x0000cdb2: .debug_line READONLY HAS_CONTENTS
[16] 0x0000->0x0760 at 0x0000e200: .debug_frame READONLY HAS_CONTENTS
[17] 0x0000->0x1079 at 0x0000e960: .debug_str READONLY HAS_CONTENTS
[18] 0x0000->0x0fca at 0x0000f9d9: .debug_loc READONLY HAS_CONTENTS
[19] 0x0000->0x0188 at 0x000109a3: .debug_ranges READONLY HAS_CONTENTS
(gdb) PASS: gdb.base/compare-sections.exp: read-only: list read-only sections
print /d *(unsigned char *) 0x0000
$1 = 0
(gdb) PASS: gdb.base/compare-sections.exp: read-only: get value of read-only section
print /d *(unsigned char *) 0x0000 = 255
$2 = 255
(gdb) PASS: gdb.base/compare-sections.exp: read-only: corrupt read-only section
compare-sections -r
Section .vectors, range 0x0 -- 0x2000: MIS-MATCHED!
Section .init, range 0x2000 -- 0x2028: matched.
Section .text, range 0x2028 -- 0x3a18: matched.
Section .fini, range 0x3a18 -- 0x3a34: matched.
Section .rodata, range 0x3a34 -- 0x3a3e: matched.
warning: One or more sections of the target image does not match
the loaded file
(gdb) PASS: gdb.base/compare-sections.exp: read-only: compare-sections -r
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/compare-sections.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/completion.exp ...
Executing on host: or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c
Executing on host: or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -w -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break1.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion1.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion1.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion
spawn /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../data-directory
GNU gdb (GDB) 7.11.50.20160313-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=or1k-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(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 /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base
Source directories searched: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion
Reading symbols from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xffa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x11fcc
Loading section .rodata, size 0x930 lma 0x11fe8
Loading section .eh_frame, size 0x4 lma 0x14918
Loading section .ctors, size 0x8 lma 0x1491c
Loading section .dtors, size 0x8 lma 0x14924
Loading section .jcr, size 0x4 lma 0x1492c
Loading section .data, size 0xcf8 lma 0x14930
Start address 0x100
Transfer rate: 635200 bits in <1 sec.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x23f0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c, line 43.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .vectors, size 0x2000 lma 0x0
Loading section .init, size 0x28 lma 0x2000
Loading section .text, size 0xffa4 lma 0x2028
Loading section .fini, size 0x1c lma 0x11fcc
Loading section .rodata, size 0x930 lma 0x11fe8
Loading section .eh_frame, size 0x4 lma 0x14918
Loading section .ctors, size 0x8 lma 0x1491c
Loading section .dtors, size 0x8 lma 0x14924
Loading section .jcr, size 0x4 lma 0x1492c
Loading section .data, size 0xcf8 lma 0x14930
Start address 0x100
Transfer rate: 635200 bits in <1 sec.
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/completion/completion
Breakpoint 1, main (argc=0, argv=0x0, envp=0x0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c:43
43 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */
(gdb) set max-completions unlimited
(gdb) PASS: gdb.base/completion.exp: set max-completions unlimited
complete print values[0].x.
(gdb) PASS: gdb.base/completion.exp: field completion with invalid field
complete sav
save
(gdb) PASS: gdb.base/completion.exp: test non-deprecated completion
complete save-t
Warning: 'save-tracepoints', an alias for the command 'tracepoints' is deprecated.
Use 'save tracepoints'.
save-tracepoints
(gdb) PASS: gdb.base/completion.exp: test deprecated completion
complete ptype struct some_
ptype struct some_struct
(gdb) PASS: gdb.base/completion.exp: complete ptype struct some_
complete ptype enum some_
ptype enum some_enum
(gdb) PASS: gdb.base/completion.exp: complete ptype enum some_
complete ptype union some_
ptype union some_union
(gdb) PASS: gdb.base/completion.exp: complete ptype union some_
complete set gnutarget aut
set gnutarget auto
(gdb) PASS: gdb.base/completion.exp: complete set gnutarget aut
complete set cp-abi aut
set cp-abi auto
(gdb) PASS: gdb.base/completion.exp: complete set cp-abi aut
target ctf
Undefined target command: "ctf". Try "help target".
(gdb) complete target core ./outputs/gdb.base/completion/completion
target core ./outputs/gdb.base/completion/completion
target core ./outputs/gdb.base/completion/completion0.o
target core ./outputs/gdb.base/completion/completion1.o
(gdb) PASS: gdb.base/completion.exp: complete target core
complete target tfile ./outputs/gdb.base/completion/completion
target tfile ./outputs/gdb.base/completion/completion
target tfile ./outputs/gdb.base/completion/completion0.o
target tfile ./outputs/gdb.base/completion/completion1.o
(gdb) PASS: gdb.base/completion.exp: complete target tfile
complete target exec ./outputs/gdb.base/completion/completion
target exec ./outputs/gdb.base/completion/completion
target exec ./outputs/gdb.base/completion/completion0.o
target exec ./outputs/gdb.base/completion/completion1.o
(gdb) PASS: gdb.base/completion.exp: complete target exec
complete set height
set height unlimited
(gdb) PASS: gdb.base/completion.exp: complete set height
complete set height u
set height unlimited
(gdb) PASS: gdb.base/completion.exp: complete set height u
complete set listsize
set listsize unlimited
(gdb) PASS: gdb.base/completion.exp: complete set listsize
complete set listsize unl
set listsize unlimited
(gdb) PASS: gdb.base/completion.exp: complete set listsize unl
complete set trace-buffer-size
set trace-buffer-size unlimited
(gdb) PASS: gdb.base/completion.exp: complete set trace-buffer-size
complete set trace-buffer-size unl
set trace-buffer-size unlimited
(gdb) PASS: gdb.base/completion.exp: complete set trace-buffer-size unl
mt print registers
Name Nr Rel Offset Size Type
r0 0 0 0 4 uint32_t
r1 1 1 4 4 *1
r2 2 2 8 4 *1
r3 3 3 12 4 uint32_t
r4 4 4 16 4 uint32_t
r5 5 5 20 4 uint32_t
r6 6 6 24 4 uint32_t
r7 7 7 28 4 uint32_t
r8 8 8 32 4 uint32_t
r9 9 9 36 4 uint32_t
r10 10 10 40 4 uint32_t
r11 11 11 44 4 uint32_t
r12 12 12 48 4 uint32_t
r13 13 13 52 4 uint32_t
r14 14 14 56 4 uint32_t
r15 15 15 60 4 uint32_t
r16 16 16 64 4 uint32_t
r17 17 17 68 4 uint32_t
r18 18 18 72 4 uint32_t
r19 19 19 76 4 uint32_t
r20 20 20 80 4 uint32_t
r21 21 21 84 4 uint32_t
r22 22 22 88 4 uint32_t
r23 23 23 92 4 uint32_t
r24 24 24 96 4 uint32_t
r25 25 25 100 4 uint32_t
r26 26 26 104 4 uint32_t
r27 27 27 108 4 uint32_t
r28 28 28 112 4 uint32_t
r29 29 29 116 4 uint32_t
r30 30 30 120 4 uint32_t
r31 31 31 124 4 uint32_t
ppc 32 32 128 4 *1
npc 33 33 132 4 *1
sr 34 34 136 4 uint32_t
35 35 140 4 uint32_t
36 36 144 4 uint32_t
37 37 148 4 uint32_t
38 38 152 4 uint32_t
39 39 156 4 uint32_t
40 40 160 4 uint32_t
41 41 164 4 uint32_t
42 42 168 4 uint32_t
43 43 172 4 uint32_t
44 44 176 4 uint32_t
45 45 180 4 uint32_t
46 46 184 4 uint32_t
47 47 188 4 uint32_t
48 48 192 4 uint32_t
49 49 196 4 uint32_t
50 50 200 4 uint32_t
51 51 204 4 uint32_t
52 52 208 4 uint32_t
53 53 212 4 uint32_t
54 54 216 4 uint32_t
55 55 220 4 uint32_t
56 56 224 4 uint32_t
57 57 228 4 uint32_t
58 58 232 4 uint32_t
59 59 236 4 uint32_t
60 60 240 4 uint32_t
61 61 244 4 uint32_t
62 62 248 4 uint32_t
63 63 252 4 uint32_t
64 64 256 4 uint32_t
65 65 260 4 uint32_t
66 66 264 4 uint32_t
67 67 268 4 uint32_t
68 68 272 4 uint32_t
69 69 276 4 uint32_t
70 70 280 4 uint32_t
71 71 284 4 uint32_t
72 72 288 4 uint32_t
73 73 292 4 uint32_t
74 74 296 4 uint32_t
75 75 300 4 uint32_t
76 76 304 4 uint32_t
77 77 308 4 uint32_t
78 78 312 4 uint32_t
79 79 316 4 uint32_t
80 80 320 4 uint32_t
81 81 324 4 uint32_t
82 82 328 4 uint32_t
83 83 332 4 uint32_t
84 84 336 4 uint32_t
85 85 340 4 uint32_t
86 86 344 4 uint32_t
87 87 348 4 uint32_t
88 88 352 4 uint32_t
89 89 356 4 uint32_t
90 90 360 4 uint32_t
91 91 364 4 uint32_t
92 92 368 4 uint32_t
93 93 372 4 uint32_t
94 94 376 4 uint32_t
95 95 380 4 uint32_t
96 96 384 4 uint32_t
97 97 388 4 uint32_t
98 98 392 4 uint32_t
99 99 396 4 uint32_t
100 100 400 4 uint32_t
101 101 404 4 uint32_t
102 102 408 4 uint32_t
103 103 412 4 uint32_t
104 104 416 4 uint32_t
105 105 420 4 uint32_t
106 106 424 4 uint32_t
107 107 428 4 uint32_t
108 108 432 4 uint32_t
109 109 436 4 uint32_t
110 110 440 4 uint32_t
111 111 444 4 uint32_t
112 112 448 4 uint32_t
113 113 452 4 uint32_t
114 114 456 4 uint32_t
115 115 460 4 uint32_t
116 116 464 4 uint32_t
117 117 468 4 uint32_t
118 118 472 4 uint32_t
119 119 476 4 uint32_t
120 120 480 4 uint32_t
121 121 484 4 uint32_t
122 122 488 4 uint32_t
123 123 492 4 uint32_t
124 124 496 4 uint32_t
125 125 500 4 uint32_t
126 126 504 4 uint32_t
127 127 508 4 uint32_t
128 128 512 4 uint32_t
129 129 516 4 uint32_t
130 130 520 4 uint32_t
131 131 524 4 uint32_t
132 132 528 4 uint32_t
133 133 532 4 uint32_t
134 134 536 4 uint32_t
135 135 540 4 uint32_t
136 136 544 4 uint32_t
137 137 548 4 uint32_t
138 138 552 4 uint32_t
139 139 556 4 uint32_t
140 140 560 4 uint32_t
141 141 564 4 uint32_t
142 142 568 4 uint32_t
143 143 572 4 uint32_t
144 144 576 4 uint32_t
145 145 580 4 uint32_t
146 146 584 4 uint32_t
147 147 588 4 uint32_t
148 148 592 4 uint32_t
149 149 596 4 uint32_t
150 150 600 4 uint32_t
151 151 604 4 uint32_t
152 152 608 4 uint32_t
153 153 612 4 uint32_t
154 154 616 4 uint32_t
155 155 620 4 uint32_t
156 156 624 4 uint32_t
157 157 628 4 uint32_t
158 158 632 4 uint32_t
159 159 636 4 uint32_t
160 160 640 4 uint32_t
161 161 644 4 uint32_t
162 162 648 4 uint32_t
163 163 652 4 uint32_t
164 164 656 4 uint32_t
165 165 660 4 uint32_t
166 166 664 4 uint32_t
167 167 668 4 uint32_t
168 168 672 4 uint32_t
169 169 676 4 uint32_t
170 170 680 4 uint32_t
171 171 684 4 uint32_t
172 172 688 4 uint32_t
173 173 692 4 uint32_t
174 174 696 4 uint32_t
175 175 700 4 uint32_t
176 176 704 4 uint32_t
177 177 708 4 uint32_t
178 178 712 4 uint32_t
179 179 716 4 uint32_t
180 180 720 4 uint32_t
181 181 724 4 uint32_t
182 182 728 4 uint32_t
183 183 732 4 uint32_t
184 184 736 4 uint32_t
185 185 740 4 uint32_t
186 186 744 4 uint32_t
187 187 748 4 uint32_t
188 188 752 4 uint32_t
189 189 756 4 uint32_t
190 190 760 4 uint32_t
191 191 764 4 uint32_t
192 192 768 4 uint32_t
193 193 772 4 uint32_t
194 194 776 4 uint32_t
195 195 780 4 uint32_t
196 196 784 4 uint32_t
197 197 788 4 uint32_t
198 198 792 4 uint32_t
199 199 796 4 uint32_t
200 200 800 4 uint32_t
201 201 804 4 uint32_t
202 202 808 4 uint32_t
203 203 812 4 uint32_t
204 204 816 4 uint32_t
205 205 820 4 uint32_t
206 206 824 4 uint32_t
207 207 828 4 uint32_t
208 208 832 4 uint32_t
209 209 836 4 uint32_t
210 210 840 4 uint32_t
211 211 844 4 uint32_t
212 212 848 4 uint32_t
213 213 852 4 uint32_t
214 214 856 4 uint32_t
215 215 860 4 uint32_t
216 216 864 4 uint32_t
217 217 868 4 uint32_t
218 218 872 4 uint32_t
219 219 876 4 uint32_t
220 220 880 4 uint32_t
221 221 884 4 uint32_t
222 222 888 4 uint32_t
223 223 892 4 uint32_t
224 224 896 4 uint32_t
225 225 900 4 uint32_t
226 226 904 4 uint32_t
227 227 908 4 uint32_t
228 228 912 4 uint32_t
229 229 916 4 uint32_t
230 230 920 4 uint32_t
231 231 924 4 uint32_t
232 232 928 4 uint32_t
233 233 932 4 uint32_t
234 234 936 4 uint32_t
235 235 940 4 uint32_t
236 236 944 4 uint32_t
237 237 948 4 uint32_t
238 238 952 4 uint32_t
239 239 956 4 uint32_t
240 240 960 4 uint32_t
241 241 964 4 uint32_t
242 242 968 4 uint32_t
243 243 972 4 uint32_t
244 244 976 4 uint32_t
245 245 980 4 uint32_t
246 246 984 4 uint32_t
247 247 988 4 uint32_t
248 248 992 4 uint32_t
249 249 996 4 uint32_t
250 250 1000 4 uint32_t
251 251 1004 4 uint32_t
252 252 1008 4 uint32_t
253 253 1012 4 uint32_t
254 254 1016 4 uint32_t
255 255 1020 4 uint32_t
256 256 1024 4 uint32_t
257 257 1028 4 uint32_t
258 258 1032 4 uint32_t
259 259 1036 4 uint32_t
260 260 1040 4 uint32_t
261 261 1044 4 uint32_t
262 262 1048 4 uint32_t
263 263 1052 4 uint32_t
264 264 1056 4 uint32_t
265 265 1060 4 uint32_t
266 266 1064 4 uint32_t
267 267 1068 4 uint32_t
268 268 1072 4 uint32_t
269 269 1076 4 uint32_t
270 270 1080 4 uint32_t
271 271 1084 4 uint32_t
272 272 1088 4 uint32_t
273 273 1092 4 uint32_t
274 274 1096 4 uint32_t
275 275 1100 4 uint32_t
276 276 1104 4 uint32_t
277 277 1108 4 uint32_t
278 278 1112 4 uint32_t
279 279 1116 4 uint32_t
280 280 1120 4 uint32_t
281 281 1124 4 uint32_t
282 282 1128 4 uint32_t
283 283 1132 4 uint32_t
284 284 1136 4 uint32_t
285 285 1140 4 uint32_t
286 286 1144 4 uint32_t
287 287 1148 4 uint32_t
288 288 1152 4 uint32_t
289 289 1156 4 uint32_t
290 290 1160 4 uint32_t
291 291 1164 4 uint32_t
292 292 1168 4 uint32_t
293 293 1172 4 uint32_t
294 294 1176 4 uint32_t
295 295 1180 4 uint32_t
296 296 1184 4 uint32_t
297 297 1188 4 uint32_t
298 298 1192 4 uint32_t
299 299 1196 4 uint32_t
300 300 1200 4 uint32_t
301 301 1204 4 uint32_t
302 302 1208 4 uint32_t
303 303 1212 4 uint32_t
304 304 1216 4 uint32_t
305 305 1220 4 uint32_t
306 306 1224 4 uint32_t
307 307 1228 4 uint32_t
308 308 1232 4 uint32_t
309 309 1236 4 uint32_t
310 310 1240 4 uint32_t
311 311 1244 4 uint32_t
312 312 1248 4 uint32_t
313 313 1252 4 uint32_t
314 314 1256 4 uint32_t
315 315 1260 4 uint32_t
316 316 1264 4 uint32_t
317 317 1268 4 uint32_t
318 318 1272 4 uint32_t
319 319 1276 4 uint32_t
320 320 1280 4 uint32_t
321 321 1284 4 uint32_t
322 322 1288 4 uint32_t
323 323 1292 4 uint32_t
324 324 1296 4 uint32_t
325 325 1300 4 uint32_t
326 326 1304 4 uint32_t
327 327 1308 4 uint32_t
328 328 1312 4 uint32_t
329 329 1316 4 uint32_t
330 330 1320 4 uint32_t
331 331 1324 4 uint32_t
332 332 1328 4 uint32_t
333 333 1332 4 uint32_t
334 334 1336 4 uint32_t
335 335 1340 4 uint32_t
336 336 1344 4 uint32_t
337 337 1348 4 uint32_t
338 338 1352 4 uint32_t
339 339 1356 4 uint32_t
340 340 1360 4 uint32_t
341 341 1364 4 uint32_t
342 342 1368 4 uint32_t
343 343 1372 4 uint32_t
344 344 1376 4 uint32_t
345 345 1380 4 uint32_t
346 346 1384 4 uint32_t
347 347 1388 4 uint32_t
348 348 1392 4 uint32_t
349 349 1396 4 uint32_t
350 350 1400 4 uint32_t
351 351 1404 4 uint32_t
352 352 1408 4 uint32_t
353 353 1412 4 uint32_t
354 354 1416 4 uint32_t
355 355 1420 4 uint32_t
356 356 1424 4 uint32_t
357 357 1428 4 uint32_t
358 358 1432 4 uint32_t
359 359 1436 4 uint32_t
360 360 1440 4 uint32_t
361 361 1444 4 uint32_t
362 362 1448 4 uint32_t
363 363 1452 4 uint32_t
364 364 1456 4 uint32_t
365 365 1460 4 uint32_t
366 366 1464 4 uint32_t
367 367 1468 4 uint32_t
368 368 1472 4 uint32_t
369 369 1476 4 uint32_t
370 370 1480 4 uint32_t
371 371 1484 4 uint32_t
372 372 1488 4 uint32_t
373 373 1492 4 uint32_t
374 374 1496 4 uint32_t
375 375 1500 4 uint32_t
376 376 1504 4 uint32_t
377 377 1508 4 uint32_t
378 378 1512 4 uint32_t
379 379 1516 4 uint32_t
380 380 1520 4 uint32_t
381 381 1524 4 uint32_t
382 382 1528 4 uint32_t
383 383 1532 4 uint32_t
384 384 1536 4 uint32_t
385 385 1540 4 uint32_t
386 386 1544 4 uint32_t
387 387 1548 4 uint32_t
388 388 1552 4 uint32_t
389 389 1556 4 uint32_t
390 390 1560 4 uint32_t
391 391 1564 4 uint32_t
392 392 1568 4 uint32_t
393 393 1572 4 uint32_t
394 394 1576 4 uint32_t
395 395 1580 4 uint32_t
396 396 1584 4 uint32_t
397 397 1588 4 uint32_t
398 398 1592 4 uint32_t
399 399 1596 4 uint32_t
400 400 1600 4 uint32_t
401 401 1604 4 uint32_t
402 402 1608 4 uint32_t
403 403 1612 4 uint32_t
404 404 1616 4 uint32_t
405 405 1620 4 uint32_t
406 406 1624 4 uint32_t
407 407 1628 4 uint32_t
408 408 1632 4 uint32_t
409 409 1636 4 uint32_t
410 410 1640 4 uint32_t
411 411 1644 4 uint32_t
412 412 1648 4 uint32_t
413 413 1652 4 uint32_t
414 414 1656 4 uint32_t
415 415 1660 4 uint32_t
416 416 1664 4 uint32_t
417 417 1668 4 uint32_t
418 418 1672 4 uint32_t
419 419 1676 4 uint32_t
420 420 1680 4 uint32_t
421 421 1684 4 uint32_t
422 422 1688 4 uint32_t
423 423 1692 4 uint32_t
424 424 1696 4 uint32_t
425 425 1700 4 uint32_t
426 426 1704 4 uint32_t
427 427 1708 4 uint32_t
428 428 1712 4 uint32_t
429 429 1716 4 uint32_t
430 430 1720 4 uint32_t
431 431 1724 4 uint32_t
432 432 1728 4 uint32_t
433 433 1732 4 uint32_t
434 434 1736 4 uint32_t
435 435 1740 4 uint32_t
436 436 1744 4 uint32_t
437 437 1748 4 uint32_t
438 438 1752 4 uint32_t
439 439 1756 4 uint32_t
440 440 1760 4 uint32_t
441 441 1764 4 uint32_t
442 442 1768 4 uint32_t
443 443 1772 4 uint32_t
444 444 1776 4 uint32_t
445 445 1780 4 uint32_t
446 446 1784 4 uint32_t
447 447 1788 4 uint32_t
448 448 1792 4 uint32_t
449 449 1796 4 uint32_t
450 450 1800 4 uint32_t
451 451 1804 4 uint32_t
452 452 1808 4 uint32_t
453 453 1812 4 uint32_t
454 454 1816 4 uint32_t
455 455 1820 4 uint32_t
456 456 1824 4 uint32_t
457 457 1828 4 uint32_t
458 458 1832 4 uint32_t
459 459 1836 4 uint32_t
460 460 1840 4 uint32_t
461 461 1844 4 uint32_t
462 462 1848 4 uint32_t
463 463 1852 4 uint32_t
464 464 1856 4 uint32_t
465 465 1860 4 uint32_t
466 466 1864 4 uint32_t
467 467 1868 4 uint32_t
468 468 1872 4 uint32_t
469 469 1876 4 uint32_t
470 470 1880 4 uint32_t
471 471 1884 4 uint32_t
472 472 1888 4 uint32_t
473 473 1892 4 uint32_t
474 474 1896 4 uint32_t
475 475 1900 4 uint32_t
476 476 1904 4 uint32_t
477 477 1908 4 uint32_t
478 478 1912 4 uint32_t
479 479 1916 4 uint32_t
480 480 1920 4 uint32_t
481 481 1924 4 uint32_t
482 482 1928 4 uint32_t
483 483 1932 4 uint32_t
484 484 1936 4 uint32_t
485 485 1940 4 uint32_t
486 486 1944 4 uint32_t
487 487 1948 4 uint32_t
488 488 1952 4 uint32_t
489 489 1956 4 uint32_t
490 490 1960 4 uint32_t
491 491 1964 4 uint32_t
492 492 1968 4 uint32_t
493 493 1972 4 uint32_t
494 494 1976 4 uint32_t
495 495 1980 4 uint32_t
496 496 1984 4 uint32_t
497 497 1988 4 uint32_t
498 498 1992 4 uint32_t
499 499 1996 4 uint32_t
500 500 2000 4 uint32_t
501 501 2004 4 uint32_t
502 502 2008 4 uint32_t
503 503 2012 4 uint32_t
504 504 2016 4 uint32_t
505 505 2020 4 uint32_t
506 506 2024 4 uint32_t
507 507 2028 4 uint32_t
508 508 2032 4 uint32_t
509 509 2036 4 uint32_t
510 510 2040 4 uint32_t
511 511 2044 4 uint32_t
512 512 2048 4 uint32_t
513 513 2052 4 uint32_t
514 514 2056 4 uint32_t
515 515 2060 4 uint32_t
516 516 2064 4 uint32_t
517 517 2068 4 uint32_t
518 518 2072 4 uint32_t
519 519 2076 4 uint32_t
520 520 2080 4 uint32_t
521 521 2084 4 uint32_t
522 522 2088 4 uint32_t
523 523 2092 4 uint32_t
524 524 2096 4 uint32_t
525 525 2100 4 uint32_t
526 526 2104 4 uint32_t
527 527 2108 4 uint32_t
528 528 2112 4 uint32_t
529 529 2116 4 uint32_t
530 530 2120 4 uint32_t
531 531 2124 4 uint32_t
532 532 2128 4 uint32_t
533 533 2132 4 uint32_t
534 534 2136 4 uint32_t
535 535 2140 4 uint32_t
536 536 2144 4 uint32_t
537 537 2148 4 uint32_t
538 538 2152 4 uint32_t
539 539 2156 4 uint32_t
540 540 2160 4 uint32_t
541 541 2164 4 uint32_t
542 542 2168 4 uint32_t
543 543 2172 4 uint32_t
544 544 2176 4 uint32_t
545 545 2180 4 uint32_t
546 546 2184 4 uint32_t
547 547 2188 4 uint32_t
548 548 2192 4 uint32_t
549 549 2196 4 uint32_t
550 550 2200 4 uint32_t
551 551 2204 4 uint32_t
552 552 2208 4 uint32_t
553 553 2212 4 uint32_t
554 554 2216 4 uint32_t
555 555 2220 4 uint32_t
556 556 2224 4 uint32_t
557 557 2228 4 uint32_t
558 558 2232 4 uint32_t
559 559 2236 4 uint32_t
560 560 2240 4 uint32_t
561 561 2244 4 uint32_t
562 562 2248 4 uint32_t
563 563 2252 4 uint32_t
564 564 2256 4 uint32_t
565 565 2260 4 uint32_t
566 566 2264 4 uint32_t
567 567 2268 4 uint32_t
568 568 2272 4 uint32_t
569 569 2276 4 uint32_t
570 570 2280 4 uint32_t
571 571 2284 4 uint32_t
572 572 2288 4 uint32_t
573 573 2292 4 uint32_t
574 574 2296 4 uint32_t
575 575 2300 4 uint32_t
576 576 2304 4 uint32_t
577 577 2308 4 uint32_t
578 578 2312 4 uint32_t
579 579 2316 4 uint32_t
580 580 2320 4 uint32_t
581 581 2324 4 uint32_t
582 582 2328 4 uint32_t
583 583 2332 4 uint32_t
584 584 2336 4 uint32_t
585 585 2340 4 uint32_t
586 586 2344 4 uint32_t
587 587 2348 4 uint32_t
588 588 2352 4 uint32_t
589 589 2356 4 uint32_t
590 590 2360 4 uint32_t
591 591 2364 4 uint32_t
592 592 2368 4 uint32_t
593 593 2372 4 uint32_t
594 594 2376 4 uint32_t
595 595 2380 4 uint32_t
596 596 2384 4 uint32_t
597 597 2388 4 uint32_t
598 598 2392 4 uint32_t
599 599 2396 4 uint32_t
600 600 2400 4 uint32_t
601 601 2404 4 uint32_t
602 602 2408 4 uint32_t
603 603 2412 4 uint32_t
604 604 2416 4 uint32_t
605 605 2420 4 uint32_t
606 606 2424 4 uint32_t
607 607 2428 4 uint32_t
608 608 2432 4 uint32_t
609 609 2436 4 uint32_t
610 610 2440 4 uint32_t
611 611 2444 4 uint32_t
612 612 2448 4 uint32_t
613 613 2452 4 uint32_t
614 614 2456 4 uint32_t
615 615 2460 4 uint32_t
616 616 2464 4 uint32_t
617 617 2468 4 uint32_t
618 618 2472 4 uint32_t
619 619 2476 4 uint32_t
620 620 2480 4 uint32_t
621 621 2484 4 uint32_t
622 622 2488 4 uint32_t
623 623 2492 4 uint32_t
624 624 2496 4 uint32_t
625 625 2500 4 uint32_t
626 626 2504 4 uint32_t
627 627 2508 4 uint32_t
628 628 2512 4 uint32_t
629 629 2516 4 uint32_t
630 630 2520 4 uint32_t
631 631 2524 4 uint32_t
632 632 2528 4 uint32_t
633 633 2532 4 uint32_t
634 634 2536 4 uint32_t
635 635 2540 4 uint32_t
636 636 2544 4 uint32_t
637 637 2548 4 uint32_t
638 638 2552 4 uint32_t
639 639 2556 4 uint32_t
640 640 2560 4 uint32_t
641 641 2564 4 uint32_t
642 642 2568 4 uint32_t
643 643 2572 4 uint32_t
644 644 2576 4 uint32_t
645 645 2580 4 uint32_t
646 646 2584 4 uint32_t
647 647 2588 4 uint32_t
648 648 2592 4 uint32_t
649 649 2596 4 uint32_t
650 650 2600 4 uint32_t
651 651 2604 4 uint32_t
652 652 2608 4 uint32_t
653 653 2612 4 uint32_t
654 654 2616 4 uint32_t
655 655 2620 4 uint32_t
656 656 2624 4 uint32_t
657 657 2628 4 uint32_t
658 658 2632 4 uint32_t
659 659 2636 4 uint32_t
660 660 2640 4 uint32_t
661 661 2644 4 uint32_t
662 662 2648 4 uint32_t
663 663 2652 4 uint32_t
664 664 2656 4 uint32_t
665 665 2660 4 uint32_t
666 666 2664 4 uint32_t
667 667 2668 4 uint32_t
668 668 2672 4 uint32_t
669 669 2676 4 uint32_t
670 670 2680 4 uint32_t
671 671 2684 4 uint32_t
672 672 2688 4 uint32_t
673 673 2692 4 uint32_t
674 674 2696 4 uint32_t
675 675 2700 4 uint32_t
676 676 2704 4 uint32_t
677 677 2708 4 uint32_t
678 678 2712 4 uint32_t
679 679 2716 4 uint32_t
680 680 2720 4 uint32_t
681 681 2724 4 uint32_t
682 682 2728 4 uint32_t
683 683 2732 4 uint32_t
684 684 2736 4 uint32_t
685 685 2740 4 uint32_t
686 686 2744 4 uint32_t
687 687 2748 4 uint32_t
688 688 2752 4 uint32_t
689 689 2756 4 uint32_t
690 690 2760 4 uint32_t
691 691 2764 4 uint32_t
692 692 2768 4 uint32_t
693 693 2772 4 uint32_t
694 694 2776 4 uint32_t
695 695 2780 4 uint32_t
696 696 2784 4 uint32_t
697 697 2788 4 uint32_t
698 698 2792 4 uint32_t
699 699 2796 4 uint32_t
700 700 2800 4 uint32_t
701 701 2804 4 uint32_t
702 702 2808 4 uint32_t
703 703 2812 4 uint32_t
704 704 2816 4 uint32_t
705 705 2820 4 uint32_t
706 706 2824 4 uint32_t
707 707 2828 4 uint32_t
708 708 2832 4 uint32_t
709 709 2836 4 uint32_t
710 710 2840 4 uint32_t
711 711 2844 4 uint32_t
712 712 2848 4 uint32_t
713 713 2852 4 uint32_t
714 714 2856 4 uint32_t
715 715 2860 4 uint32_t
716 716 2864 4 uint32_t
717 717 2868 4 uint32_t
718 718 2872 4 uint32_t
719 719 2876 4 uint32_t
720 720 2880 4 uint32_t
721 721 2884 4 uint32_t
722 722 2888 4 uint32_t
723 723 2892 4 uint32_t
724 724 2896 4 uint32_t
725 725 2900 4 uint32_t
726 726 2904 4 uint32_t
727 727 2908 4 uint32_t
728 728 2912 4 uint32_t
729 729 2916 4 uint32_t
730 730 2920 4 uint32_t
731 731 2924 4 uint32_t
732 732 2928 4 uint32_t
733 733 2932 4 uint32_t
734 734 2936 4 uint32_t
735 735 2940 4 uint32_t
736 736 2944 4 uint32_t
737 737 2948 4 uint32_t
738 738 2952 4 uint32_t
739 739 2956 4 uint32_t
740 740 2960 4 uint32_t
741 741 2964 4 uint32_t
742 742 2968 4 uint32_t
743 743 2972 4 uint32_t
744 744 2976 4 uint32_t
745 745 2980 4 uint32_t
746 746 2984 4 uint32_t
747 747 2988 4 uint32_t
748 748 2992 4 uint32_t
749 749 2996 4 uint32_t
750 750 3000 4 uint32_t
751 751 3004 4 uint32_t
752 752 3008 4 uint32_t
753 753 3012 4 uint32_t
754 754 3016 4 uint32_t
755 755 3020 4 uint32_t
756 756 3024 4 uint32_t
757 757 3028 4 uint32_t
758 758 3032 4 uint32_t
759 759 3036 4 uint32_t
760 760 3040 4 uint32_t
761 761 3044 4 uint32_t
762 762 3048 4 uint32_t
763 763 3052 4 uint32_t
764 764 3056 4 uint32_t
765 765 3060 4 uint32_t
766 766 3064 4 uint32_t
767 767 3068 4 uint32_t
768 768 3072 4 uint32_t
769 769 3076 4 uint32_t
770 770 3080 4 uint32_t
771 771 3084 4 uint32_t
772 772 3088 4 uint32_t
773 773 3092 4 uint32_t
774 774 3096 4 uint32_t
775 775 3100 4 uint32_t
776 776 3104 4 uint32_t
777 777 3108 4 uint32_t
778 778 3112 4 uint32_t
779 779 3116 4 uint32_t
780 780 3120 4 uint32_t
781 781 3124 4 uint32_t
782 782 3128 4 uint32_t
783 783 3132 4 uint32_t
784 784 3136 4 uint32_t
785 785 3140 4 uint32_t
786 786 3144 4 uint32_t
787 787 3148 4 uint32_t
788 788 3152 4 uint32_t
789 789 3156 4 uint32_t
790 790 3160 4 uint32_t
791 791 3164 4 uint32_t
792 792 3168 4 uint32_t
793 793 3172 4 uint32_t
794 794 3176 4 uint32_t
795 795 3180 4 uint32_t
796 796 3184 4 uint32_t
797 797 3188 4 uint32_t
798 798 3192 4 uint32_t
799 799 3196 4 uint32_t
800 800 3200 4 uint32_t
801 801 3204 4 uint32_t
802 802 3208 4 uint32_t
803 803 3212 4 uint32_t
804 804 3216 4 uint32_t
805 805 3220 4 uint32_t
806 806 3224 4 uint32_t
807 807 3228 4 uint32_t
808 808 3232 4 uint32_t
809 809 3236 4 uint32_t
810 810 3240 4 uint32_t
811 811 3244 4 uint32_t
812 812 3248 4 uint32_t
813 813 3252 4 uint32_t
814 814 3256 4 uint32_t
815 815 3260 4 uint32_t
816 816 3264 4 uint32_t
817 817 3268 4 uint32_t
818 818 3272 4 uint32_t
819 819 3276 4 uint32_t
820 820 3280 4 uint32_t
821 821 3284 4 uint32_t
822 822 3288 4 uint32_t
823 823 3292 4 uint32_t
824 824 3296 4 uint32_t
825 825 3300 4 uint32_t
826 826 3304 4 uint32_t
827 827 3308 4 uint32_t
828 828 3312 4 uint32_t
829 829 3316 4 uint32_t
830 830 3320 4 uint32_t
831 831 3324 4 uint32_t
832 832 3328 4 uint32_t
833 833 3332 4 uint32_t
834 834 3336 4 uint32_t
835 835 3340 4 uint32_t
836 836 3344 4 uint32_t
837 837 3348 4 uint32_t
838 838 3352 4 uint32_t
839 839 3356 4 uint32_t
840 840 3360 4 uint32_t
841 841 3364 4 uint32_t
842 842 3368 4 uint32_t
843 843 3372 4 uint32_t
844 844 3376 4 uint32_t
845 845 3380 4 uint32_t
846 846 3384 4 uint32_t
847 847 3388 4 uint32_t
848 848 3392 4 uint32_t
849 849 3396 4 uint32_t
850 850 3400 4 uint32_t
851 851 3404 4 uint32_t
852 852 3408 4 uint32_t
853 853 3412 4 uint32_t
854 854 3416 4 uint32_t
855 855 3420 4 uint32_t
856 856 3424 4 uint32_t
857 857 3428 4 uint32_t
858 858 3432 4 uint32_t
859 859 3436 4 uint32_t
860 860 3440 4 uint32_t
861 861 3444 4 uint32_t
862 862 3448 4 uint32_t
863 863 3452 4 uint32_t
864 864 3456 4 uint32_t
865 865 3460 4 uint32_t
866 866 3464 4 uint32_t
867 867 3468 4 uint32_t
868 868 3472 4 uint32_t
869 869 3476 4 uint32_t
870 870 3480 4 uint32_t
871 871 3484 4 uint32_t
872 872 3488 4 uint32_t
873 873 3492 4 uint32_t
874 874 3496 4 uint32_t
875 875 3500 4 uint32_t
876 876 3504 4 uint32_t
877 877 3508 4 uint32_t
878 878 3512 4 uint32_t
879 879 3516 4 uint32_t
880 880 3520 4 uint32_t
881 881 3524 4 uint32_t
882 882 3528 4 uint32_t
883 883 3532 4 uint32_t
884 884 3536 4 uint32_t
885 885 3540 4 uint32_t
886 886 3544 4 uint32_t
887 887 3548 4 uint32_t
888 888 3552 4 uint32_t
889 889 3556 4 uint32_t
890 890 3560 4 uint32_t
891 891 3564 4 uint32_t
892 892 3568 4 uint32_t
893 893 3572 4 uint32_t
894 894 3576 4 uint32_t
895 895 3580 4 uint32_t
896 896 3584 4 uint32_t
897 897 3588 4 uint32_t
898 898 3592 4 uint32_t
899 899 3596 4 uint32_t
900 900 3600 4 uint32_t
901 901 3604 4 uint32_t
902 902 3608 4 uint32_t
903 903 3612 4 uint32_t
904 904 3616 4 uint32_t
905 905 3620 4 uint32_t
906 906 3624 4 uint32_t
907 907 3628 4 uint32_t
908 908 3632 4 uint32_t
909 909 3636 4 uint32_t
910 910 3640 4 uint32_t
911 911 3644 4 uint32_t
912 912 3648 4 uint32_t
913 913 3652 4 uint32_t
914 914 3656 4 uint32_t
915 915 3660 4 uint32_t
916 916 3664 4 uint32_t
917 917 3668 4 uint32_t
918 918 3672 4 uint32_t
919 919 3676 4 uint32_t
920 920 3680 4 uint32_t
921 921 3684 4 uint32_t
922 922 3688 4 uint32_t
923 923 3692 4 uint32_t
924 924 3696 4 uint32_t
925 925 3700 4 uint32_t
926 926 3704 4 uint32_t
927 927 3708 4 uint32_t
928 928 3712 4 uint32_t
929 929 3716 4 uint32_t
930 930 3720 4 uint32_t
931 931 3724 4 uint32_t
932 932 3728 4 uint32_t
933 933 3732 4 uint32_t
934 934 3736 4 uint32_t
935 935 3740 4 uint32_t
936 936 3744 4 uint32_t
937 937 3748 4 uint32_t
938 938 3752 4 uint32_t
939 939 3756 4 uint32_t
940 940 3760 4 uint32_t
941 941 3764 4 uint32_t
942 942 3768 4 uint32_t
943 943 3772 4 uint32_t
944 944 3776 4 uint32_t
945 945 3780 4 uint32_t
946 946 3784 4 uint32_t
947 947 3788 4 uint32_t
948 948 3792 4 uint32_t
949 949 3796 4 uint32_t
950 950 3800 4 uint32_t
951 951 3804 4 uint32_t
952 952 3808 4 uint32_t
953 953 3812 4 uint32_t
954 954 3816 4 uint32_t
955 955 3820 4 uint32_t
956 956 3824 4 uint32_t
957 957 3828 4 uint32_t
958 958 3832 4 uint32_t
959 959 3836 4 uint32_t
960 960 3840 4 uint32_t
961 961 3844 4 uint32_t
962 962 3848 4 uint32_t
963 963 3852 4 uint32_t
964 964 3856 4 uint32_t
965 965 3860 4 uint32_t
966 966 3864 4 uint32_t
967 967 3868 4 uint32_t
968 968 3872 4 uint32_t
969 969 3876 4 uint32_t
970 970 3880 4 uint32_t
971 971 3884 4 uint32_t
972 972 3888 4 uint32_t
973 973 3892 4 uint32_t
974 974 3896 4 uint32_t
975 975 3900 4 uint32_t
976 976 3904 4 uint32_t
977 977 3908 4 uint32_t
978 978 3912 4 uint32_t
979 979 3916 4 uint32_t
980 980 3920 4 uint32_t
981 981 3924 4 uint32_t
982 982 3928 4 uint32_t
983 983 3932 4 uint32_t
984 984 3936 4 uint32_t
985 985 3940 4 uint32_t
986 986 3944 4 uint32_t
987 987 3948 4 uint32_t
988 988 3952 4 uint32_t
989 989 3956 4 uint32_t
990 990 3960 4 uint32_t
991 991 3964 4 uint32_t
992 992 3968 4 uint32_t
993 993 3972 4 uint32_t
994 994 3976 4 uint32_t
995 995 3980 4 uint32_t
996 996 3984 4 uint32_t
997 997 3988 4 uint32_t
998 998 3992 4 uint32_t
999 999 3996 4 uint32_t
1000 1000 4000 4 uint32_t
1001 1001 4004 4 uint32_t
1002 1002 4008 4 uint32_t
1003 1003 4012 4 uint32_t
1004 1004 4016 4 uint32_t
1005 1005 4020 4 uint32_t
1006 1006 4024 4 uint32_t
1007 1007 4028 4 uint32_t
1008 1008 4032 4 uint32_t
1009 1009 4036 4 uint32_t
1010 1010 4040 4 uint32_t
1011 1011 4044 4 uint32_t
1012 1012 4048 4 uint32_t
1013 1013 4052 4 uint32_t
1014 1014 4056 4 uint32_t
1015 1015 4060 4 uint32_t
1016 1016 4064 4 uint32_t
1017 1017 4068 4 uint32_t
1018 1018 4072 4 uint32_t
1019 1019 4076 4 uint32_t
1020 1020 4080 4 uint32_t
1021 1021 4084 4 uint32_t
1022 1022 4088 4 uint32_t
1023 1023 4092 4 uint32_t
1024 1024 4096 4 uint32_t
1025 1025 4100 4 uint32_t
1026 1026 4104 4 uint32_t
1027 1027 4108 4 uint32_t
1028 1028 4112 4 uint32_t
1029 1029 4116 4 uint32_t
1030 1030 4120 4 uint32_t
1031 1031 4124 4 uint32_t
1032 1032 4128 4 uint32_t
1033 1033 4132 4 uint32_t
1034 1034 4136 4 uint32_t
1035 1035 4140 4 uint32_t
1036 1036 4144 4 uint32_t
1037 1037 4148 4 uint32_t
1038 1038 4152 4 uint32_t
1039 1039 4156 4 uint32_t
1040 1040 4160 4 uint32_t
1041 1041 4164 4 uint32_t
1042 1042 4168 4 uint32_t
1043 1043 4172 4 uint32_t
1044 1044 4176 4 uint32_t
1045 1045 4180 4 uint32_t
1046 1046 4184 4 uint32_t
1047 1047 4188 4 uint32_t
1048 1048 4192 4 uint32_t
1049 1049 4196 4 uint32_t
1050 1050 4200 4 uint32_t
1051 1051 4204 4 uint32_t
1052 1052 4208 4 uint32_t
1053 1053 4212 4 uint32_t
1054 1054 4216 4 uint32_t
1055 1055 4220 4 uint32_t
1056 1056 4224 4 uint32_t
1057 1057 4228 4 uint32_t
1058 1058 4232 4 uint32_t
1059 1059 4236 4 uint32_t
1060 1060 4240 4 uint32_t
1061 1061 4244 4 uint32_t
1062 1062 4248 4 uint32_t
1063 1063 4252 4 uint32_t
1064 1064 4256 4 uint32_t
1065 1065 4260 4 uint32_t
1066 1066 4264 4 uint32_t
1067 1067 4268 4 uint32_t
1068 1068 4272 4 uint32_t
1069 1069 4276 4 uint32_t
1070 1070 4280 4 uint32_t
1071 1071 4284 4 uint32_t
1072 1072 4288 4 uint32_t
1073 1073 4292 4 uint32_t
1074 1074 4296 4 uint32_t
1075 1075 4300 4 uint32_t
1076 1076 4304 4 uint32_t
1077 1077 4308 4 uint32_t
1078 1078 4312 4 uint32_t
1079 1079 4316 4 uint32_t
1080 1080 4320 4 uint32_t
1081 1081 4324 4 uint32_t
1082 1082 4328 4 uint32_t
1083 1083 4332 4 uint32_t
1084 1084 4336 4 uint32_t
1085 1085 4340 4 uint32_t
1086 1086 4344 4 uint32_t
1087 1087 4348 4 uint32_t
1088 1088 4352 4 uint32_t
1089 1089 4356 4 uint32_t
1090 1090 4360 4 uint32_t
1091 1091 4364 4 uint32_t
1092 1092 4368 4 uint32_t
1093 1093 4372 4 uint32_t
1094 1094 4376 4 uint32_t
1095 1095 4380 4 uint32_t
1096 1096 4384 4 uint32_t
1097 1097 4388 4 uint32_t
1098 1098 4392 4 uint32_t
1099 1099 4396 4 uint32_t
1100 1100 4400 4 uint32_t
1101 1101 4404 4 uint32_t
1102 1102 4408 4 uint32_t
1103 1103 4412 4 uint32_t
1104 1104 4416 4 uint32_t
1105 1105 4420 4 uint32_t
1106 1106 4424 4 uint32_t
1107 1107 4428 4 uint32_t
1108 1108 4432 4 uint32_t
1109 1109 4436 4 uint32_t
1110 1110 4440 4 uint32_t
1111 1111 4444 4 uint32_t
1112 1112 4448 4 uint32_t
1113 1113 4452 4 uint32_t
1114 1114 4456 4 uint32_t
1115 1115 4460 4 uint32_t
1116 1116 4464 4 uint32_t
1117 1117 4468 4 uint32_t
1118 1118 4472 4 uint32_t
1119 1119 4476 4 uint32_t
1120 1120 4480 4 uint32_t
1121 1121 4484 4 uint32_t
1122 1122 4488 4 uint32_t
1123 1123 4492 4 uint32_t
1124 1124 4496 4 uint32_t
1125 1125 4500 4 uint32_t
1126 1126 4504 4 uint32_t
1127 1127 4508 4 uint32_t
1128 1128 4512 4 uint32_t
1129 1129 4516 4 uint32_t
1130 1130 4520 4 uint32_t
1131 1131 4524 4 uint32_t
1132 1132 4528 4 uint32_t
1133 1133 4532 4 uint32_t
1134 1134 4536 4 uint32_t
1135 1135 4540 4 uint32_t
1136 1136 4544 4 uint32_t
1137 1137 4548 4 uint32_t
1138 1138 4552 4 uint32_t
1139 1139 4556 4 uint32_t
1140 1140 4560 4 uint32_t
1141 1141 4564 4 uint32_t
1142 1142 4568 4 uint32_t
1143 1143 4572 4 uint32_t
1144 1144 4576 4 uint32_t
1145 1145 4580 4 uint32_t
1146 1146 4584 4 uint32_t
1147 1147 4588 4 uint32_t
1148 1148 4592 4 uint32_t
1149 1149 4596 4 uint32_t
1150 1150 4600 4 uint32_t
1151 1151 4604 4 uint32_t
1152 1152 4608 4 uint32_t
1153 1153 4612 4 uint32_t
1154 1154 4616 4 uint32_t
1155 1155 4620 4 uint32_t
1156 1156 4624 4 uint32_t
1157 1157 4628 4 uint32_t
1158 1158 4632 4 uint32_t
1159 1159 4636 4 uint32_t
1160 1160 4640 4 uint32_t
1161 1161 4644 4 uint32_t
1162 1162 4648 4 uint32_t
1163 1163 4652 4 uint32_t
1164 1164 4656 4 uint32_t
1165 1165 4660 4 uint32_t
1166 1166 4664 4 uint32_t
1167 1167 4668 4 uint32_t
1168 1168 4672 4 uint32_t
1169 1169 4676 4 uint32_t
1170 1170 4680 4 uint32_t
1171 1171 4684 4 uint32_t
1172 1172 4688 4 uint32_t
1173 1173 4692 4 uint32_t
1174 1174 4696 4 uint32_t
1175 1175 4700 4 uint32_t
1176 1176 4704 4 uint32_t
1177 1177 4708 4 uint32_t
1178 1178 4712 4 uint32_t
1179 1179 4716 4 uint32_t
1180 1180 4720 4 uint32_t
1181 1181 4724 4 uint32_t
1182 1182 4728 4 uint32_t
1183 1183 4732 4 uint32_t
1184 1184 4736 4 uint32_t
1185 1185 4740 4 uint32_t
1186 1186 4744 4 uint32_t
1187 1187 4748 4 uint32_t
1188 1188 4752 4 uint32_t
1189 1189 4756 4 uint32_t
1190 1190 4760 4 uint32_t
1191 1191 4764 4 uint32_t
1192 1192 4768 4 uint32_t
1193 1193 4772 4 uint32_t
1194 1194 4776 4 uint32_t
1195 1195 4780 4 uint32_t
1196 1196 4784 4 uint32_t
1197 1197 4788 4 uint32_t
1198 1198 4792 4 uint32_t
1199 1199 4796 4 uint32_t
1200 1200 4800 4 uint32_t
1201 1201 4804 4 uint32_t
1202 1202 4808 4 uint32_t
1203 1203 4812 4 uint32_t
1204 1204 4816 4 uint32_t
1205 1205 4820 4 uint32_t
1206 1206 4824 4 uint32_t
1207 1207 4828 4 uint32_t
1208 1208 4832 4 uint32_t
1209 1209 4836 4 uint32_t
1210 1210 4840 4 uint32_t
1211 1211 4844 4 uint32_t
1212 1212 4848 4 uint32_t
1213 1213 4852 4 uint32_t
1214 1214 4856 4 uint32_t
1215 1215 4860 4 uint32_t
1216 1216 4864 4 uint32_t
1217 1217 4868 4 uint32_t
1218 1218 4872 4 uint32_t
1219 1219 4876 4 uint32_t
1220 1220 4880 4 uint32_t
1221 1221 4884 4 uint32_t
1222 1222 4888 4 uint32_t
1223 1223 4892 4 uint32_t
1224 1224 4896 4 uint32_t
1225 1225 4900 4 uint32_t
1226 1226 4904 4 uint32_t
1227 1227 4908 4 uint32_t
1228 1228 4912 4 uint32_t
1229 1229 4916 4 uint32_t
1230 1230 4920 4 uint32_t
1231 1231 4924 4 uint32_t
1232 1232 4928 4 uint32_t
1233 1233 4932 4 uint32_t
1234 1234 4936 4 uint32_t
1235 1235 4940 4 uint32_t
1236 1236 4944 4 uint32_t
1237 1237 4948 4 uint32_t
1238 1238 4952 4 uint32_t
1239 1239 4956 4 uint32_t
1240 1240 4960 4 uint32_t
1241 1241 4964 4 uint32_t
1242 1242 4968 4 uint32_t
1243 1243 4972 4 uint32_t
1244 1244 4976 4 uint32_t
1245 1245 4980 4 uint32_t
1246 1246 4984 4 uint32_t
1247 1247 4988 4 uint32_t
1248 1248 4992 4 uint32_t
1249 1249 4996 4 uint32_t
1250 1250 5000 4 uint32_t
1251 1251 5004 4 uint32_t
1252 1252 5008 4 uint32_t
1253 1253 5012 4 uint32_t
1254 1254 5016 4 uint32_t
1255 1255 5020 4 uint32_t
1256 1256 5024 4 uint32_t
1257 1257 5028 4 uint32_t
1258 1258 5032 4 uint32_t
1259 1259 5036 4 uint32_t
1260 1260 5040 4 uint32_t
1261 1261 5044 4 uint32_t
1262 1262 5048 4 uint32_t
1263 1263 5052 4 uint32_t
1264 1264 5056 4 uint32_t
1265 1265 5060 4 uint32_t
1266 1266 5064 4 uint32_t
1267 1267 5068 4 uint32_t
1268 1268 5072 4 uint32_t
1269 1269 5076 4 uint32_t
1270 1270 5080 4 uint32_t
1271 1271 5084 4 uint32_t
1272 1272 5088 4 uint32_t
1273 1273 5092 4 uint32_t
1274 1274 5096 4 uint32_t
1275 1275 5100 4 uint32_t
1276 1276 5104 4 uint32_t
1277 1277 5108 4 uint32_t
1278 1278 5112 4 uint32_t
1279 1279 5116 4 uint32_t
1280 1280 5120 4 uint32_t
1281 1281 5124 4 uint32_t
1282 1282 5128 4 uint32_t
1283 1283 5132 4 uint32_t
1284 1284 5136 4 uint32_t
1285 1285 5140 4 uint32_t
1286 1286 5144 4 uint32_t
1287 1287 5148 4 uint32_t
1288 1288 5152 4 uint32_t
1289 1289 5156 4 uint32_t
1290 1290 5160 4 uint32_t
1291 1291 5164 4 uint32_t
1292 1292 5168 4 uint32_t
1293 1293 5172 4 uint32_t
1294 1294 5176 4 uint32_t
1295 1295 5180 4 uint32_t
1296 1296 5184 4 uint32_t
1297 1297 5188 4 uint32_t
1298 1298 5192 4 uint32_t
1299 1299 5196 4 uint32_t
1300 1300 5200 4 uint32_t
1301 1301 5204 4 uint32_t
1302 1302 5208 4 uint32_t
1303 1303 5212 4 uint32_t
1304 1304 5216 4 uint32_t
1305 1305 5220 4 uint32_t
1306 1306 5224 4 uint32_t
1307 1307 5228 4 uint32_t
1308 1308 5232 4 uint32_t
1309 1309 5236 4 uint32_t
1310 1310 5240 4 uint32_t
1311 1311 5244 4 uint32_t
1312 1312 5248 4 uint32_t
1313 1313 5252 4 uint32_t
1314 1314 5256 4 uint32_t
1315 1315 5260 4 uint32_t
1316 1316 5264 4 uint32_t
1317 1317 5268 4 uint32_t
1318 1318 5272 4 uint32_t
1319 1319 5276 4 uint32_t
1320 1320 5280 4 uint32_t
1321 1321 5284 4 uint32_t
1322 1322 5288 4 uint32_t
1323 1323 5292 4 uint32_t
1324 1324 5296 4 uint32_t
1325 1325 5300 4 uint32_t
1326 1326 5304 4 uint32_t
1327 1327 5308 4 uint32_t
1328 1328 5312 4 uint32_t
1329 1329 5316 4 uint32_t
1330 1330 5320 4 uint32_t
1331 1331 5324 4 uint32_t
1332 1332 5328 4 uint32_t
1333 1333 5332 4 uint32_t
1334 1334 5336 4 uint32_t
1335 1335 5340 4 uint32_t
1336 1336 5344 4 uint32_t
1337 1337 5348 4 uint32_t
1338 1338 5352 4 uint32_t
1339 1339 5356 4 uint32_t
1340 1340 5360 4 uint32_t
1341 1341 5364 4 uint32_t
1342 1342 5368 4 uint32_t
1343 1343 5372 4 uint32_t
1344 1344 5376 4 uint32_t
1345 1345 5380 4 uint32_t
1346 1346 5384 4 uint32_t
1347 1347 5388 4 uint32_t
1348 1348 5392 4 uint32_t
1349 1349 5396 4 uint32_t
1350 1350 5400 4 uint32_t
1351 1351 5404 4 uint32_t
1352 1352 5408 4 uint32_t
1353 1353 5412 4 uint32_t
1354 1354 5416 4 uint32_t
1355 1355 5420 4 uint32_t
1356 1356 5424 4 uint32_t
1357 1357 5428 4 uint32_t
1358 1358 5432 4 uint32_t
1359 1359 5436 4 uint32_t
1360 1360 5440 4 uint32_t
1361 1361 5444 4 uint32_t
1362 1362 5448 4 uint32_t
1363 1363 5452 4 uint32_t
1364 1364 5456 4 uint32_t
1365 1365 5460 4 uint32_t
1366 1366 5464 4 uint32_t
1367 1367 5468 4 uint32_t
1368 1368 5472 4 uint32_t
1369 1369 5476 4 uint32_t
1370 1370 5480 4 uint32_t
1371 1371 5484 4 uint32_t
1372 1372 5488 4 uint32_t
1373 1373 5492 4 uint32_t
1374 1374 5496 4 uint32_t
1375 1375 5500 4 uint32_t
1376 1376 5504 4 uint32_t
1377 1377 5508 4 uint32_t
1378 1378 5512 4 uint32_t
1379 1379 5516 4 uint32_t
1380 1380 5520 4 uint32_t
1381 1381 5524 4 uint32_t
1382 1382 5528 4 uint32_t
1383 1383 5532 4 uint32_t
1384 1384 5536 4 uint32_t
1385 1385 5540 4 uint32_t
1386 1386 5544 4 uint32_t
1387 1387 5548 4 uint32_t
1388 1388 5552 4 uint32_t
1389 1389 5556 4 uint32_t
1390 1390 5560 4 uint32_t
1391 1391 5564 4 uint32_t
1392 1392 5568 4 uint32_t
1393 1393 5572 4 uint32_t
1394 1394 5576 4 uint32_t
1395 1395 5580 4 uint32_t
1396 1396 5584 4 uint32_t
1397 1397 5588 4 uint32_t
1398 1398 5592 4 uint32_t
1399 1399 5596 4 uint32_t
1400 1400 5600 4 uint32_t
1401 1401 5604 4 uint32_t
1402 1402 5608 4 uint32_t
1403 1403 5612 4 uint32_t
1404 1404 5616 4 uint32_t
1405 1405 5620 4 uint32_t
1406 1406 5624 4 uint32_t
1407 1407 5628 4 uint32_t
1408 1408 5632 4 uint32_t
1409 1409 5636 4 uint32_t
1410 1410 5640 4 uint32_t
1411 1411 5644 4 uint32_t
1412 1412 5648 4 uint32_t
1413 1413 5652 4 uint32_t
1414 1414 5656 4 uint32_t
1415 1415 5660 4 uint32_t
1416 1416 5664 4 uint32_t
1417 1417 5668 4 uint32_t
1418 1418 5672 4 uint32_t
1419 1419 5676 4 uint32_t
1420 1420 5680 4 uint32_t
1421 1421 5684 4 uint32_t
1422 1422 5688 4 uint32_t
1423 1423 5692 4 uint32_t
1424 1424 5696 4 uint32_t
1425 1425 5700 4 uint32_t
1426 1426 5704 4 uint32_t
1427 1427 5708 4 uint32_t
1428 1428 5712 4 uint32_t
1429 1429 5716 4 uint32_t
1430 1430 5720 4 uint32_t
1431 1431 5724 4 uint32_t
1432 1432 5728 4 uint32_t
1433 1433 5732 4 uint32_t
1434 1434 5736 4 uint32_t
1435 1435 5740 4 uint32_t
1436 1436 5744 4 uint32_t
1437 1437 5748 4 uint32_t
1438 1438 5752 4 uint32_t
1439 1439 5756 4 uint32_t
1440 1440 5760 4 uint32_t
1441 1441 5764 4 uint32_t
1442 1442 5768 4 uint32_t
1443 1443 5772 4 uint32_t
1444 1444 5776 4 uint32_t
1445 1445 5780 4 uint32_t
1446 1446 5784 4 uint32_t
1447 1447 5788 4 uint32_t
1448 1448 5792 4 uint32_t
1449 1449 5796 4 uint32_t
1450 1450 5800 4 uint32_t
1451 1451 5804 4 uint32_t
1452 1452 5808 4 uint32_t
1453 1453 5812 4 uint32_t
1454 1454 5816 4 uint32_t
1455 1455 5820 4 uint32_t
1456 1456 5824 4 uint32_t
1457 1457 5828 4 uint32_t
1458 1458 5832 4 uint32_t
1459 1459 5836 4 uint32_t
1460 1460 5840 4 uint32_t
1461 1461 5844 4 uint32_t
1462 1462 5848 4 uint32_t
1463 1463 5852 4 uint32_t
1464 1464 5856 4 uint32_t
1465 1465 5860 4 uint32_t
1466 1466 5864 4 uint32_t
1467 1467 5868 4 uint32_t
1468 1468 5872 4 uint32_t
1469 1469 5876 4 uint32_t
1470 1470 5880 4 uint32_t
1471 1471 5884 4 uint32_t
1472 1472 5888 4 uint32_t
1473 1473 5892 4 uint32_t
1474 1474 5896 4 uint32_t
1475 1475 5900 4 uint32_t
1476 1476 5904 4 uint32_t
1477 1477 5908 4 uint32_t
1478 1478 5912 4 uint32_t
1479 1479 5916 4 uint32_t
1480 1480 5920 4 uint32_t
1481 1481 5924 4 uint32_t
1482 1482 5928 4 uint32_t
1483 1483 5932 4 uint32_t
1484 1484 5936 4 uint32_t
1485 1485 5940 4 uint32_t
1486 1486 5944 4 uint32_t
1487 1487 5948 4 uint32_t
1488 1488 5952 4 uint32_t
1489 1489 5956 4 uint32_t
1490 1490 5960 4 uint32_t
1491 1491 5964 4 uint32_t
1492 1492 5968 4 uint32_t
1493 1493 5972 4 uint32_t
1494 1494 5976 4 uint32_t
1495 1495 5980 4 uint32_t
1496 1496 5984 4 uint32_t
1497 1497 5988 4 uint32_t
1498 1498 5992 4 uint32_t
1499 1499 5996 4 uint32_t
1500 1500 6000 4 uint32_t
1501 1501 6004 4 uint32_t
1502 1502 6008 4 uint32_t
1503 1503 6012 4 uint32_t
1504 1504 6016 4 uint32_t
1505 1505 6020 4 uint32_t
1506 1506 6024 4 uint32_t
1507 1507 6028 4 uint32_t
1508 1508 6032 4 uint32_t
1509 1509 6036 4 uint32_t
1510 1510 6040 4 uint32_t
1511 1511 6044 4 uint32_t
1512 1512 6048 4 uint32_t
1513 1513 6052 4 uint32_t
1514 1514 6056 4 uint32_t
1515 1515 6060 4 uint32_t
1516 1516 6064 4 uint32_t
1517 1517 6068 4 uint32_t
1518 1518 6072 4 uint32_t
1519 1519 6076 4 uint32_t
1520 1520 6080 4 uint32_t
1521 1521 6084 4 uint32_t
1522 1522 6088 4 uint32_t
1523 1523 6092 4 uint32_t
1524 1524 6096 4 uint32_t
1525 1525 6100 4 uint32_t
1526 1526 6104 4 uint32_t
1527 1527 6108 4 uint32_t
1528 1528 6112 4 uint32_t
1529 1529 6116 4 uint32_t
1530 1530 6120 4 uint32_t
1531 1531 6124 4 uint32_t
1532 1532 6128 4 uint32_t
1533 1533 6132 4 uint32_t
1534 1534 6136 4 uint32_t
1535 1535 6140 4 uint32_t
1536 1536 6144 4 uint32_t
1537 1537 6148 4 uint32_t
1538 1538 6152 4 uint32_t
1539 1539 6156 4 uint32_t
1540 1540 6160 4 uint32_t
1541 1541 6164 4 uint32_t
1542 1542 6168 4 uint32_t
1543 1543 6172 4 uint32_t
1544 1544 6176 4 uint32_t
1545 1545 6180 4 uint32_t
1546 1546 6184 4 uint32_t
1547 1547 6188 4 uint32_t
1548 1548 6192 4 uint32_t
1549 1549 6196 4 uint32_t
1550 1550 6200 4 uint32_t
1551 1551 6204 4 uint32_t
1552 1552 6208 4 uint32_t
1553 1553 6212 4 uint32_t
1554 1554 6216 4 uint32_t
1555 1555 6220 4 uint32_t
1556 1556 6224 4 uint32_t
1557 1557 6228 4 uint32_t
1558 1558 6232 4 uint32_t
1559 1559 6236 4 uint32_t
1560 1560 6240 4 uint32_t
1561 1561 6244 4 uint32_t
1562 1562 6248 4 uint32_t
1563 1563 6252 4 uint32_t
1564 1564 6256 4 uint32_t
1565 1565 6260 4 uint32_t
1566 1566 6264 4 uint32_t
1567 1567 6268 4 uint32_t
1568 1568 6272 4 uint32_t
1569 1569 6276 4 uint32_t
1570 1570 6280 4 uint32_t
1571 1571 6284 4 uint32_t
1572 1572 6288 4 uint32_t
1573 1573 6292 4 uint32_t
1574 1574 6296 4 uint32_t
1575 1575 6300 4 uint32_t
1576 1576 6304 4 uint32_t
1577 1577 6308 4 uint32_t
1578 1578 6312 4 uint32_t
1579 1579 6316 4 uint32_t
1580 1580 6320 4 uint32_t
1581 1581 6324 4 uint32_t
1582 1582 6328 4 uint32_t
1583 1583 6332 4 uint32_t
1584 1584 6336 4 uint32_t
1585 1585 6340 4 uint32_t
1586 1586 6344 4 uint32_t
1587 1587 6348 4 uint32_t
1588 1588 6352 4 uint32_t
1589 1589 6356 4 uint32_t
1590 1590 6360 4 uint32_t
1591 1591 6364 4 uint32_t
1592 1592 6368 4 uint32_t
1593 1593 6372 4 uint32_t
1594 1594 6376 4 uint32_t
1595 1595 6380 4 uint32_t
1596 1596 6384 4 uint32_t
1597 1597 6388 4 uint32_t
1598 1598 6392 4 uint32_t
1599 1599 6396 4 uint32_t
1600 1600 6400 4 uint32_t
1601 1601 6404 4 uint32_t
1602 1602 6408 4 uint32_t
1603 1603 6412 4 uint32_t
1604 1604 6416 4 uint32_t
1605 1605 6420 4 uint32_t
1606 1606 6424 4 uint32_t
1607 1607 6428 4 uint32_t
1608 1608 6432 4 uint32_t
1609 1609 6436 4 uint32_t
1610 1610 6440 4 uint32_t
1611 1611 6444 4 uint32_t
1612 1612 6448 4 uint32_t
1613 1613 6452 4 uint32_t
1614 1614 6456 4 uint32_t
1615 1615 6460 4 uint32_t
1616 1616 6464 4 uint32_t
1617 1617 6468 4 uint32_t
1618 1618 6472 4 uint32_t
1619 1619 6476 4 uint32_t
1620 1620 6480 4 uint32_t
1621 1621 6484 4 uint32_t
1622 1622 6488 4 uint32_t
1623 1623 6492 4 uint32_t
1624 1624 6496 4 uint32_t
1625 1625 6500 4 uint32_t
1626 1626 6504 4 uint32_t
1627 1627 6508 4 uint32_t
1628 1628 6512 4 uint32_t
1629 1629 6516 4 uint32_t
1630 1630 6520 4 uint32_t
1631 1631 6524 4 uint32_t
1632 1632 6528 4 uint32_t
1633 1633 6532 4 uint32_t
1634 1634 6536 4 uint32_t
1635 1635 6540 4 uint32_t
1636 1636 6544 4 uint32_t
1637 1637 6548 4 uint32_t
1638 1638 6552 4 uint32_t
1639 1639 6556 4 uint32_t
1640 1640 6560 4 uint32_t
1641 1641 6564 4 uint32_t
1642 1642 6568 4 uint32_t
1643 1643 6572 4 uint32_t
1644 1644 6576 4 uint32_t
1645 1645 6580 4 uint32_t
1646 1646 6584 4 uint32_t
1647 1647 6588 4 uint32_t
1648 1648 6592 4 uint32_t
1649 1649 6596 4 uint32_t
1650 1650 6600 4 uint32_t
1651 1651 6604 4 uint32_t
1652 1652 6608 4 uint32_t
1653 1653 6612 4 uint32_t
1654 1654 6616 4 uint32_t
1655 1655 6620 4 uint32_t
1656 1656 6624 4 uint32_t
1657 1657 6628 4 uint32_t
1658 1658 6632 4 uint32_t
1659 1659 6636 4 uint32_t
1660 1660 6640 4 uint32_t
1661 1661 6644 4 uint32_t
1662 1662 6648 4 uint32_t
1663 1663 6652 4 uint32_t
1664 1664 6656 4 uint32_t
1665 1665 6660 4 uint32_t
1666 1666 6664 4 uint32_t
1667 1667 6668 4 uint32_t
1668 1668 6672 4 uint32_t
1669 1669 6676 4 uint32_t
1670 1670 6680 4 uint32_t
1671 1671 6684 4 uint32_t
1672 1672 6688 4 uint32_t
1673 1673 6692 4 uint32_t
1674 1674 6696 4 uint32_t
1675 1675 6700 4 uint32_t
1676 1676 6704 4 uint32_t
1677 1677 6708 4 uint32_t
1678 1678 6712 4 uint32_t
1679 1679 6716 4 uint32_t
1680 1680 6720 4 uint32_t
1681 1681 6724 4 uint32_t
1682 1682 6728 4 uint32_t
1683 1683 6732 4 uint32_t
1684 1684 6736 4 uint32_t
1685 1685 6740 4 uint32_t
1686 1686 6744 4 uint32_t
1687 1687 6748 4 uint32_t
1688 1688 6752 4 uint32_t
1689 1689 6756 4 uint32_t
1690 1690 6760 4 uint32_t
1691 1691 6764 4 uint32_t
1692 1692 6768 4 uint32_t
1693 1693 6772 4 uint32_t
1694 1694 6776 4 uint32_t
1695 1695 6780 4 uint32_t
1696 1696 6784 4 uint32_t
1697 1697 6788 4 uint32_t
1698 1698 6792 4 uint32_t
1699 1699 6796 4 uint32_t
1700 1700 6800 4 uint32_t
1701 1701 6804 4 uint32_t
1702 1702 6808 4 uint32_t
1703 1703 6812 4 uint32_t
1704 1704 6816 4 uint32_t
1705 1705 6820 4 uint32_t
1706 1706 6824 4 uint32_t
1707 1707 6828 4 uint32_t
1708 1708 6832 4 uint32_t
1709 1709 6836 4 uint32_t
1710 1710 6840 4 uint32_t
1711 1711 6844 4 uint32_t
1712 1712 6848 4 uint32_t
1713 1713 6852 4 uint32_t
1714 1714 6856 4 uint32_t
1715 1715 6860 4 uint32_t
1716 1716 6864 4 uint32_t
1717 1717 6868 4 uint32_t
1718 1718 6872 4 uint32_t
1719 1719 6876 4 uint32_t
1720 1720 6880 4 uint32_t
1721 1721 6884 4 uint32_t
1722 1722 6888 4 uint32_t
1723 1723 6892 4 uint32_t
1724 1724 6896 4 uint32_t
1725 1725 6900 4 uint32_t
1726 1726 6904 4 uint32_t
1727 1727 6908 4 uint32_t
1728 1728 6912 4 uint32_t
1729 1729 6916 4 uint32_t
1730 1730 6920 4 uint32_t
1731 1731 6924 4 uint32_t
1732 1732 6928 4 uint32_t
1733 1733 6932 4 uint32_t
1734 1734 6936 4 uint32_t
1735 1735 6940 4 uint32_t
1736 1736 6944 4 uint32_t
1737 1737 6948 4 uint32_t
1738 1738 6952 4 uint32_t
1739 1739 6956 4 uint32_t
1740 1740 6960 4 uint32_t
1741 1741 6964 4 uint32_t
1742 1742 6968 4 uint32_t
1743 1743 6972 4 uint32_t
1744 1744 6976 4 uint32_t
1745 1745 6980 4 uint32_t
1746 1746 6984 4 uint32_t
1747 1747 6988 4 uint32_t
1748 1748 6992 4 uint32_t
1749 1749 6996 4 uint32_t
1750 1750 7000 4 uint32_t
1751 1751 7004 4 uint32_t
1752 1752 7008 4 uint32_t
1753 1753 7012 4 uint32_t
1754 1754 7016 4 uint32_t
1755 1755 7020 4 uint32_t
1756 1756 7024 4 uint32_t
1757 1757 7028 4 uint32_t
1758 1758 7032 4 uint32_t
1759 1759 7036 4 uint32_t
1760 1760 7040 4 uint32_t
1761 1761 7044 4 uint32_t
1762 1762 7048 4 uint32_t
1763 1763 7052 4 uint32_t
1764 1764 7056 4 uint32_t
1765 1765 7060 4 uint32_t
1766 1766 7064 4 uint32_t
1767 1767 7068 4 uint32_t
1768 1768 7072 4 uint32_t
1769 1769 7076 4 uint32_t
1770 1770 7080 4 uint32_t
1771 1771 7084 4 uint32_t
1772 1772 7088 4 uint32_t
1773 1773 7092 4 uint32_t
1774 1774 7096 4 uint32_t
1775 1775 7100 4 uint32_t
1776 1776 7104 4 uint32_t
1777 1777 7108 4 uint32_t
1778 1778 7112 4 uint32_t
1779 1779 7116 4 uint32_t
1780 1780 7120 4 uint32_t
1781 1781 7124 4 uint32_t
1782 1782 7128 4 uint32_t
1783 1783 7132 4 uint32_t
1784 1784 7136 4 uint32_t
1785 1785 7140 4 uint32_t
1786 1786 7144 4 uint32_t
1787 1787 7148 4 uint32_t
1788 1788 7152 4 uint32_t
1789 1789 7156 4 uint32_t
1790 1790 7160 4 uint32_t
1791 1791 7164 4 uint32_t
1792 1792 7168 4 uint32_t
1793 1793 7172 4 uint32_t
1794 1794 7176 4 uint32_t
1795 1795 7180 4 uint32_t
1796 1796 7184 4 uint32_t
1797 1797 7188 4 uint32_t
1798 1798 7192 4 uint32_t
1799 1799 7196 4 uint32_t
1800 1800 7200 4 uint32_t
1801 1801 7204 4 uint32_t
1802 1802 7208 4 uint32_t
1803 1803 7212 4 uint32_t
1804 1804 7216 4 uint32_t
1805 1805 7220 4 uint32_t
1806 1806 7224 4 uint32_t
1807 1807 7228 4 uint32_t
1808 1808 7232 4 uint32_t
1809 1809 7236 4 uint32_t
1810 1810 7240 4 uint32_t
1811 1811 7244 4 uint32_t
1812 1812 7248 4 uint32_t
1813 1813 7252 4 uint32_t
1814 1814 7256 4 uint32_t
1815 1815 7260 4 uint32_t
1816 1816 7264 4 uint32_t
1817 1817 7268 4 uint32_t
1818 1818 7272 4 uint32_t
1819 1819 7276 4 uint32_t
1820 1820 7280 4 uint32_t
1821 1821 7284 4 uint32_t
1822 1822 7288 4 uint32_t
1823 1823 7292 4 uint32_t
1824 1824 7296 4 uint32_t
1825 1825 7300 4 uint32_t
1826 1826 7304 4 uint32_t
1827 1827 7308 4 uint32_t
1828 1828 7312 4 uint32_t
1829 1829 7316 4 uint32_t
1830 1830 7320 4 uint32_t
1831 1831 7324 4 uint32_t
1832 1832 7328 4 uint32_t
1833 1833 7332 4 uint32_t
1834 1834 7336 4 uint32_t
1835 1835 7340 4 uint32_t
1836 1836 7344 4 uint32_t
1837 1837 7348 4 uint32_t
1838 1838 7352 4 uint32_t
1839 1839 7356 4 uint32_t
1840 1840 7360 4 uint32_t
1841 1841 7364 4 uint32_t
1842 1842 7368 4 uint32_t
1843 1843 7372 4 uint32_t
1844 1844 7376 4 uint32_t
1845 1845 7380 4 uint32_t
1846 1846 7384 4 uint32_t
1847 1847 7388 4 uint32_t
1848 1848 7392 4 uint32_t
1849 1849 7396 4 uint32_t
1850 1850 7400 4 uint32_t
1851 1851 7404 4 uint32_t
1852 1852 7408 4 uint32_t
1853 1853 7412 4 uint32_t
1854 1854 7416 4 uint32_t
1855 1855 7420 4 uint32_t
1856 1856 7424 4 uint32_t
1857 1857 7428 4 uint32_t
1858 1858 7432 4 uint32_t
1859 1859 7436 4 uint32_t
1860 1860 7440 4 uint32_t
1861 1861 7444 4 uint32_t
1862 1862 7448 4 uint32_t
1863 1863 7452 4 uint32_t
1864 1864 7456 4 uint32_t
1865 1865 7460 4 uint32_t
1866 1866 7464 4 uint32_t
1867 1867 7468 4 uint32_t
1868 1868 7472 4 uint32_t
1869 1869 7476 4 uint32_t
1870 1870 7480 4 uint32_t
1871 1871 7484 4 uint32_t
1872 1872 7488 4 uint32_t
1873 1873 7492 4 uint32_t
1874 1874 7496 4 uint32_t
1875 1875 7500 4 uint32_t
1876 1876 7504 4 uint32_t
1877 1877 7508 4 uint32_t
1878 1878 7512 4 uint32_t
1879 1879 7516 4 uint32_t
1880 1880 7520 4 uint32_t
1881 1881 7524 4 uint32_t
1882 1882 7528 4 uint32_t
1883 1883 7532 4 uint32_t
1884 1884 7536 4 uint32_t
1885 1885 7540 4 uint32_t
1886 1886 7544 4 uint32_t
1887 1887 7548 4 uint32_t
1888 1888 7552 4 uint32_t
1889 1889 7556 4 uint32_t
1890 1890 7560 4 uint32_t
1891 1891 7564 4 uint32_t
1892 1892 7568 4 uint32_t
1893 1893 7572 4 uint32_t
1894 1894 7576 4 uint32_t
1895 1895 7580 4 uint32_t
1896 1896 7584 4 uint32_t
1897 1897 7588 4 uint32_t
1898 1898 7592 4 uint32_t
1899 1899 7596 4 uint32_t
1900 1900 7600 4 uint32_t
1901 1901 7604 4 uint32_t
1902 1902 7608 4 uint32_t
1903 1903 7612 4 uint32_t
1904 1904 7616 4 uint32_t
1905 1905 7620 4 uint32_t
1906 1906 7624 4 uint32_t
1907 1907 7628 4 uint32_t
1908 1908 7632 4 uint32_t
1909 1909 7636 4 uint32_t
1910 1910 7640 4 uint32_t
1911 1911 7644 4 uint32_t
1912 1912 7648 4 uint32_t
1913 1913 7652 4 uint32_t
1914 1914 7656 4 uint32_t
1915 1915 7660 4 uint32_t
1916 1916 7664 4 uint32_t
1917 1917 7668 4 uint32_t
1918 1918 7672 4 uint32_t
1919 1919 7676 4 uint32_t
1920 1920 7680 4 uint32_t
1921 1921 7684 4 uint32_t
1922 1922 7688 4 uint32_t
1923 1923 7692 4 uint32_t
1924 1924 7696 4 uint32_t
1925 1925 7700 4 uint32_t
1926 1926 7704 4 uint32_t
1927 1927 7708 4 uint32_t
1928 1928 7712 4 uint32_t
1929 1929 7716 4 uint32_t
1930 1930 7720 4 uint32_t
1931 1931 7724 4 uint32_t
1932 1932 7728 4 uint32_t
1933 1933 7732 4 uint32_t
1934 1934 7736 4 uint32_t
1935 1935 7740 4 uint32_t
1936 1936 7744 4 uint32_t
1937 1937 7748 4 uint32_t
1938 1938 7752 4 uint32_t
1939 1939 7756 4 uint32_t
1940 1940 7760 4 uint32_t
1941 1941 7764 4 uint32_t
1942 1942 7768 4 uint32_t
1943 1943 7772 4 uint32_t
1944 1944 7776 4 uint32_t
1945 1945 7780 4 uint32_t
1946 1946 7784 4 uint32_t
1947 1947 7788 4 uint32_t
1948 1948 7792 4 uint32_t
1949 1949 7796 4 uint32_t
1950 1950 7800 4 uint32_t
1951 1951 7804 4 uint32_t
1952 1952 7808 4 uint32_t
1953 1953 7812 4 uint32_t
1954 1954 7816 4 uint32_t
1955 1955 7820 4 uint32_t
1956 1956 7824 4 uint32_t
1957 1957 7828 4 uint32_t
1958 1958 7832 4 uint32_t
1959 1959 7836 4 uint32_t
1960 1960 7840 4 uint32_t
1961 1961 7844 4 uint32_t
1962 1962 7848 4 uint32_t
1963 1963 7852 4 uint32_t
1964 1964 7856 4 uint32_t
1965 1965 7860 4 uint32_t
1966 1966 7864 4 uint32_t
1967 1967 7868 4 uint32_t
1968 1968 7872 4 uint32_t
1969 1969 7876 4 uint32_t
1970 1970 7880 4 uint32_t
1971 1971 7884 4 uint32_t
1972 1972 7888 4 uint32_t
1973 1973 7892 4 uint32_t
1974 1974 7896 4 uint32_t
1975 1975 7900 4 uint32_t
1976 1976 7904 4 uint32_t
1977 1977 7908 4 uint32_t
1978 1978 7912 4 uint32_t
1979 1979 7916 4 uint32_t
1980 1980 7920 4 uint32_t
1981 1981 7924 4 uint32_t
1982 1982 7928 4 uint32_t
1983 1983 7932 4 uint32_t
1984 1984 7936 4 uint32_t
1985 1985 7940 4 uint32_t
1986 1986 7944 4 uint32_t
1987 1987 7948 4 uint32_t
1988 1988 7952 4 uint32_t
1989 1989 7956 4 uint32_t
1990 1990 7960 4 uint32_t
1991 1991 7964 4 uint32_t
1992 1992 7968 4 uint32_t
1993 1993 7972 4 uint32_t
1994 1994 7976 4 uint32_t
1995 1995 7980 4 uint32_t
1996 1996 7984 4 uint32_t
1997 1997 7988 4 uint32_t
1998 1998 7992 4 uint32_t
1999 1999 7996 4 uint32_t
2000 2000 8000 4 uint32_t
2001 2001 8004 4 uint32_t
2002 2002 8008 4 uint32_t
2003 2003 8012 4 uint32_t
2004 2004 8016 4 uint32_t
2005 2005 8020 4 uint32_t
2006 2006 8024 4 uint32_t
2007 2007 8028 4 uint32_t
2008 2008 8032 4 uint32_t
2009 2009 8036 4 uint32_t
2010 2010 8040 4 uint32_t
2011 2011 8044 4 uint32_t
2012 2012 8048 4 uint32_t
2013 2013 8052 4 uint32_t
2014 2014 8056 4 uint32_t
2015 2015 8060 4 uint32_t
2016 2016 8064 4 uint32_t
2017 2017 8068 4 uint32_t
2018 2018 8072 4 uint32_t
2019 2019 8076 4 uint32_t
2020 2020 8080 4 uint32_t
2021 2021 8084 4 uint32_t
2022 2022 8088 4 uint32_t
2023 2023 8092 4 uint32_t
2024 2024 8096 4 uint32_t
2025 2025 8100 4 uint32_t
2026 2026 8104 4 uint32_t
2027 2027 8108 4 uint32_t
2028 2028 8112 4 uint32_t
2029 2029 8116 4 uint32_t
2030 2030 8120 4 uint32_t
2031 2031 8124 4 uint32_t
2032 2032 8128 4 uint32_t
2033 2033 8132 4 uint32_t
2034 2034 8136 4 uint32_t
2035 2035 8140 4 uint32_t
2036 2036 8144 4 uint32_t
2037 2037 8148 4 uint32_t
2038 2038 8152 4 uint32_t
2039 2039 8156 4 uint32_t
2040 2040 8160 4 uint32_t
2041 2041 8164 4 uint32_t
2042 2042 8168 4 uint32_t
2043 2043 8172 4 uint32_t
2044 2044 8176 4 uint32_t
2045 2045 8180 4 uint32_t
2046 2046 8184 4 uint32_t
2047 2047 8188 4 uint32_t
2048 2048 8192 4 uint32_t
2049 2049 8196 4 uint32_t
2050 2050 8200 4 uint32_t
2051 2051 8204 4 uint32_t
2052 2052 8208 4 uint32_t
2053 2053 8212 4 uint32_t
2054 2054 8216 4 uint32_t
2055 2055 8220 4 uint32_t
2056 2056 8224 4 uint32_t
2057 2057 8228 4 uint32_t
2058 2058 8232 4 uint32_t
2059 2059 8236 4 uint32_t
2060 2060 8240 4 uint32_t
2061 2061 8244 4 uint32_t
2062 2062 8248 4 uint32_t
2063 2063 8252 4 uint32_t
2064 2064 8256 4 uint32_t
2065 2065 8260 4 uint32_t
2066 2066 8264 4 uint32_t
2067 2067 8268 4 uint32_t
2068 2068 8272 4 uint32_t
2069 2069 8276 4 uint32_t
2070 2070 8280 4 uint32_t
2071 2071 8284 4 uint32_t
2072 2072 8288 4 uint32_t
2073 2073 8292 4 uint32_t
2074 2074 8296 4 uint32_t
2075 2075 8300 4 uint32_t
2076 2076 8304 4 uint32_t
2077 2077 8308 4 uint32_t
2078 2078 8312 4 uint32_t
2079 2079 8316 4 uint32_t
2080 2080 8320 4 uint32_t
2081 2081 8324 4 uint32_t
2082 2082 8328 4 uint32_t
2083 2083 8332 4 uint32_t
2084 2084 8336 4 uint32_t
2085 2085 8340 4 uint32_t
2086 2086 8344 4 uint32_t
2087 2087 8348 4 uint32_t
2088 2088 8352 4 uint32_t
2089 2089 8356 4 uint32_t
2090 2090 8360 4 uint32_t
2091 2091 8364 4 uint32_t
2092 2092 8368 4 uint32_t
2093 2093 8372 4 uint32_t
2094 2094 8376 4 uint32_t
2095 2095 8380 4 uint32_t
2096 2096 8384 4 uint32_t
2097 2097 8388 4 uint32_t
2098 2098 8392 4 uint32_t
2099 2099 8396 4 uint32_t
2100 2100 8400 4 uint32_t
2101 2101 8404 4 uint32_t
2102 2102 8408 4 uint32_t
2103 2103 8412 4 uint32_t
2104 2104 8416 4 uint32_t
2105 2105 8420 4 uint32_t
2106 2106 8424 4 uint32_t
2107 2107 8428 4 uint32_t
2108 2108 8432 4 uint32_t
2109 2109 8436 4 uint32_t
2110 2110 8440 4 uint32_t
2111 2111 8444 4 uint32_t
2112 2112 8448 4 uint32_t
2113 2113 8452 4 uint32_t
2114 2114 8456 4 uint32_t
2115 2115 8460 4 uint32_t
2116 2116 8464 4 uint32_t
2117 2117 8468 4 uint32_t
2118 2118 8472 4 uint32_t
2119 2119 8476 4 uint32_t
2120 2120 8480 4 uint32_t
2121 2121 8484 4 uint32_t
2122 2122 8488 4 uint32_t
2123 2123 8492 4 uint32_t
2124 2124 8496 4 uint32_t
2125 2125 8500 4 uint32_t
2126 2126 8504 4 uint32_t
2127 2127 8508 4 uint32_t
2128 2128 8512 4 uint32_t
2129 2129 8516 4 uint32_t
2130 2130 8520 4 uint32_t
2131 2131 8524 4 uint32_t
2132 2132 8528 4 uint32_t
2133 2133 8532 4 uint32_t
2134 2134 8536 4 uint32_t
2135 2135 8540 4 uint32_t
2136 2136 8544 4 uint32_t
2137 2137 8548 4 uint32_t
2138 2138 8552 4 uint32_t
2139 2139 8556 4 uint32_t
2140 2140 8560 4 uint32_t
2141 2141 8564 4 uint32_t
2142 2142 8568 4 uint32_t
2143 2143 8572 4 uint32_t
2144 2144 8576 4 uint32_t
2145 2145 8580 4 uint32_t
2146 2146 8584 4 uint32_t
2147 2147 8588 4 uint32_t
2148 2148 8592 4 uint32_t
2149 2149 8596 4 uint32_t
2150 2150 8600 4 uint32_t
2151 2151 8604 4 uint32_t
2152 2152 8608 4 uint32_t
2153 2153 8612 4 uint32_t
2154 2154 8616 4 uint32_t
2155 2155 8620 4 uint32_t
2156 2156 8624 4 uint32_t
2157 2157 8628 4 uint32_t
2158 2158 8632 4 uint32_t
2159 2159 8636 4 uint32_t
2160 2160 8640 4 uint32_t
2161 2161 8644 4 uint32_t
2162 2162 8648 4 uint32_t
2163 2163 8652 4 uint32_t
2164 2164 8656 4 uint32_t
2165 2165 8660 4 uint32_t
2166 2166 8664 4 uint32_t
2167 2167 8668 4 uint32_t
2168 2168 8672 4 uint32_t
2169 2169 8676 4 uint32_t
2170 2170 8680 4 uint32_t
2171 2171 8684 4 uint32_t
2172 2172 8688 4 uint32_t
2173 2173 8692 4 uint32_t
2174 2174 8696 4 uint32_t
2175 2175 8700 4 uint32_t
2176 2176 8704 4 uint32_t
2177 2177 8708 4 uint32_t
2178 2178 8712 4 uint32_t
2179 2179 8716 4 uint32_t
2180 2180 8720 4 uint32_t
2181 2181 8724 4 uint32_t
2182 2182 8728 4 uint32_t
2183 2183 8732 4 uint32_t
2184 2184 8736 4 uint32_t
2185 2185 8740 4 uint32_t
2186 2186 8744 4 uint32_t
2187 2187 8748 4 uint32_t
2188 2188 8752 4 uint32_t
2189 2189 8756 4 uint32_t
2190 2190 8760 4 uint32_t
2191 2191 8764 4 uint32_t
2192 2192 8768 4 uint32_t
2193 2193 8772 4 uint32_t
2194 2194 8776 4 uint32_t
2195 2195 8780 4 uint32_t
2196 2196 8784 4 uint32_t
2197 2197 8788 4 uint32_t
2198 2198 8792 4 uint32_t
2199 2199 8796 4 uint32_t
2200 2200 8800 4 uint32_t
2201 2201 8804 4 uint32_t
2202 2202 8808 4 uint32_t
2203 2203 8812 4 uint32_t
2204 2204 8816 4 uint32_t
2205 2205 8820 4 uint32_t
2206 2206 8824 4 uint32_t
2207 2207 8828 4 uint32_t
2208 2208 8832 4 uint32_t
2209 2209 8836 4 uint32_t
2210 2210 8840 4 uint32_t
2211 2211 8844 4 uint32_t
2212 2212 8848 4 uint32_t
2213 2213 8852 4 uint32_t
2214 2214 8856 4 uint32_t
2215 2215 8860 4 uint32_t
2216 2216 8864 4 uint32_t
2217 2217 8868 4 uint32_t
2218 2218 8872 4 uint32_t
2219 2219 8876 4 uint32_t
2220 2220 8880 4 uint32_t
2221 2221 8884 4 uint32_t
2222 2222 8888 4 uint32_t
2223 2223 8892 4 uint32_t
2224 2224 8896 4 uint32_t
2225 2225 8900 4 uint32_t
2226 2226 8904 4 uint32_t
2227 2227 8908 4 uint32_t
2228 2228 8912 4 uint32_t
2229 2229 8916 4 uint32_t
2230 2230 8920 4 uint32_t
2231 2231 8924 4 uint32_t
2232 2232 8928 4 uint32_t
2233 2233 8932 4 uint32_t
2234 2234 8936 4 uint32_t
2235 2235 8940 4 uint32_t
2236 2236 8944 4 uint32_t
2237 2237 8948 4 uint32_t
2238 2238 8952 4 uint32_t
2239 2239 8956 4 uint32_t
2240 2240 8960 4 uint32_t
2241 2241 8964 4 uint32_t
2242 2242 8968 4 uint32_t
2243 2243 8972 4 uint32_t
2244 2244 8976 4 uint32_t
2245 2245 8980 4 uint32_t
2246 2246 8984 4 uint32_t
2247 2247 8988 4 uint32_t
2248 2248 8992 4 uint32_t
2249 2249 8996 4 uint32_t
2250 2250 9000 4 uint32_t
2251 2251 9004 4 uint32_t
2252 2252 9008 4 uint32_t
2253 2253 9012 4 uint32_t
2254 2254 9016 4 uint32_t
2255 2255 9020 4 uint32_t
2256 2256 9024 4 uint32_t
2257 2257 9028 4 uint32_t
2258 2258 9032 4 uint32_t
2259 2259 9036 4 uint32_t
2260 2260 9040 4 uint32_t
2261 2261 9044 4 uint32_t
2262 2262 9048 4 uint32_t
2263 2263 9052 4 uint32_t
2264 2264 9056 4 uint32_t
2265 2265 9060 4 uint32_t
2266 2266 9064 4 uint32_t
2267 2267 9068 4 uint32_t
2268 2268 9072 4 uint32_t
2269 2269 9076 4 uint32_t
2270 2270 9080 4 uint32_t
2271 2271 9084 4 uint32_t
2272 2272 9088 4 uint32_t
2273 2273 9092 4 uint32_t
2274 2274 9096 4 uint32_t
2275 2275 9100 4 uint32_t
2276 2276 9104 4 uint32_t
2277 2277 9108 4 uint32_t
2278 2278 9112 4 uint32_t
2279 2279 9116 4 uint32_t
2280 2280 9120 4 uint32_t
2281 2281 9124 4 uint32_t
2282 2282 9128 4 uint32_t
2283 2283 9132 4 uint32_t
2284 2284 9136 4 uint32_t
2285 2285 9140 4 uint32_t
2286 2286 9144 4 uint32_t
2287 2287 9148 4 uint32_t
2288 2288 9152 4 uint32_t
2289 2289 9156 4 uint32_t
2290 2290 9160 4 uint32_t
2291 2291 9164 4 uint32_t
2292 2292 9168 4 uint32_t
2293 2293 9172 4 uint32_t
2294 2294 9176 4 uint32_t
2295 2295 9180 4 uint32_t
2296 2296 9184 4 uint32_t
2297 2297 9188 4 uint32_t
2298 2298 9192 4 uint32_t
2299 2299 9196 4 uint32_t
2300 2300 9200 4 uint32_t
2301 2301 9204 4 uint32_t
2302 2302 9208 4 uint32_t
2303 2303 9212 4 uint32_t
2304 2304 9216 4 uint32_t
2305 2305 9220 4 uint32_t
2306 2306 9224 4 uint32_t
2307 2307 9228 4 uint32_t
2308 2308 9232 4 uint32_t
2309 2309 9236 4 uint32_t
2310 2310 9240 4 uint32_t
2311 2311 9244 4 uint32_t
2312 2312 9248 4 uint32_t
2313 2313 9252 4 uint32_t
2314 2314 9256 4 uint32_t
2315 2315 9260 4 uint32_t
2316 2316 9264 4 uint32_t
2317 2317 9268 4 uint32_t
2318 2318 9272 4 uint32_t
2319 2319 9276 4 uint32_t
2320 2320 9280 4 uint32_t
2321 2321 9284 4 uint32_t
2322 2322 9288 4 uint32_t
2323 2323 9292 4 uint32_t
2324 2324 9296 4 uint32_t
2325 2325 9300 4 uint32_t
2326 2326 9304 4 uint32_t
2327 2327 9308 4 uint32_t
2328 2328 9312 4 uint32_t
2329 2329 9316 4 uint32_t
2330 2330 9320 4 uint32_t
2331 2331 9324 4 uint32_t
2332 2332 9328 4 uint32_t
2333 2333 9332 4 uint32_t
2334 2334 9336 4 uint32_t
2335 2335 9340 4 uint32_t
2336 2336 9344 4 uint32_t
2337 2337 9348 4 uint32_t
2338 2338 9352 4 uint32_t
2339 2339 9356 4 uint32_t
2340 2340 9360 4 uint32_t
2341 2341 9364 4 uint32_t
2342 2342 9368 4 uint32_t
2343 2343 9372 4 uint32_t
2344 2344 9376 4 uint32_t
2345 2345 9380 4 uint32_t
2346 2346 9384 4 uint32_t
2347 2347 9388 4 uint32_t
2348 2348 9392 4 uint32_t
2349 2349 9396 4 uint32_t
2350 2350 9400 4 uint32_t
2351 2351 9404 4 uint32_t
2352 2352 9408 4 uint32_t
2353 2353 9412 4 uint32_t
2354 2354 9416 4 uint32_t
2355 2355 9420 4 uint32_t
2356 2356 9424 4 uint32_t
2357 2357 9428 4 uint32_t
2358 2358 9432 4 uint32_t
2359 2359 9436 4 uint32_t
2360 2360 9440 4 uint32_t
2361 2361 9444 4 uint32_t
2362 2362 9448 4 uint32_t
2363 2363 9452 4 uint32_t
2364 2364 9456 4 uint32_t
2365 2365 9460 4 uint32_t
2366 2366 9464 4 uint32_t
2367 2367 9468 4 uint32_t
2368 2368 9472 4 uint32_t
2369 2369 9476 4 uint32_t
2370 2370 9480 4 uint32_t
2371 2371 9484 4 uint32_t
2372 2372 9488 4 uint32_t
2373 2373 9492 4 uint32_t
2374 2374 9496 4 uint32_t
2375 2375 9500 4 uint32_t
2376 2376 9504 4 uint32_t
2377 2377 9508 4 uint32_t
2378 2378 9512 4 uint32_t
2379 2379 9516 4 uint32_t
2380 2380 9520 4 uint32_t
2381 2381 9524 4 uint32_t
2382 2382 9528 4 uint32_t
2383 2383 9532 4 uint32_t
2384 2384 9536 4 uint32_t
2385 2385 9540 4 uint32_t
2386 2386 9544 4 uint32_t
2387 2387 9548 4 uint32_t
2388 2388 9552 4 uint32_t
2389 2389 9556 4 uint32_t
2390 2390 9560 4 uint32_t
2391 2391 9564 4 uint32_t
2392 2392 9568 4 uint32_t
2393 2393 9572 4 uint32_t
2394 2394 9576 4 uint32_t
2395 2395 9580 4 uint32_t
2396 2396 9584 4 uint32_t
2397 2397 9588 4 uint32_t
2398 2398 9592 4 uint32_t
2399 2399 9596 4 uint32_t
2400 2400 9600 4 uint32_t
2401 2401 9604 4 uint32_t
2402 2402 9608 4 uint32_t
2403 2403 9612 4 uint32_t
2404 2404 9616 4 uint32_t
2405 2405 9620 4 uint32_t
2406 2406 9624 4 uint32_t
2407 2407 9628 4 uint32_t
2408 2408 9632 4 uint32_t
2409 2409 9636 4 uint32_t
2410 2410 9640 4 uint32_t
2411 2411 9644 4 uint32_t
2412 2412 9648 4 uint32_t
2413 2413 9652 4 uint32_t
2414 2414 9656 4 uint32_t
2415 2415 9660 4 uint32_t
2416 2416 9664 4 uint32_t
2417 2417 9668 4 uint32_t
2418 2418 9672 4 uint32_t
2419 2419 9676 4 uint32_t
2420 2420 9680 4 uint32_t
2421 2421 9684 4 uint32_t
2422 2422 9688 4 uint32_t
2423 2423 9692 4 uint32_t
2424 2424 9696 4 uint32_t
2425 2425 9700 4 uint32_t
2426 2426 9704 4 uint32_t
2427 2427 9708 4 uint32_t
2428 2428 9712 4 uint32_t
2429 2429 9716 4 uint32_t
2430 2430 9720 4 uint32_t
2431 2431 9724 4 uint32_t
2432 2432 9728 4 uint32_t
2433 2433 9732 4 uint32_t
2434 2434 9736 4 uint32_t
2435 2435 9740 4 uint32_t
2436 2436 9744 4 uint32_t
2437 2437 9748 4 uint32_t
2438 2438 9752 4 uint32_t
2439 2439 9756 4 uint32_t
2440 2440 9760 4 uint32_t
2441 2441 9764 4 uint32_t
2442 2442 9768 4 uint32_t
2443 2443 9772 4 uint32_t
2444 2444 9776 4 uint32_t
2445 2445 9780 4 uint32_t
2446 2446 9784 4 uint32_t
2447 2447 9788 4 uint32_t
2448 2448 9792 4 uint32_t
2449 2449 9796 4 uint32_t
2450 2450 9800 4 uint32_t
2451 2451 9804 4 uint32_t
2452 2452 9808 4 uint32_t
2453 2453 9812 4 uint32_t
2454 2454 9816 4 uint32_t
2455 2455 9820 ERROR: internal buffer is full.
UNRESOLVED: gdb.base/completion.exp: capture_command_output for mt print registers
4 uint32_t
2456 2456 9824 4 uint32_t
2457 2457 9828 4 uint32_t
2458 2458 9832 4 uint32_t
2459 2459 9836 4 uint32_t
2460 2460 9840 4 uint32_t
2461 2461 9844 4 uint32_t
2462 2462 9848 4 uint32_t
2463 2463 9852 4 uint32_t
2464 2464 9856 4 uint32_t
2465 2465 9860 4 uint32_t
2466 2466 9864 4 uint32_t
2467 2467 9868 4 uint32_t
2468 2468 9872 4 uint32_t
2469 2469 9876 4 uint32_t
2470 2470 9880 4 uint32_t
2471 2471 9884 4 uint32_t
2472 2472 9888 4 uint32_t
2473 2473 9892 4 uint32_t
2474 2474 9896 4 uint32_t
2475 2475 9900 4 uint32_t
2476 2476 9904 4 uint32_t
2477 2477 9908 4 uint32_t
2478 2478 9912 4 uint32_t
2479 2479 9916 4 uint32_t
2480 2480 9920 4 uint32_t
2481 2481 9924 4 uint32_t
2482 2482 9928 4 uint32_t
2483 2483 9932 4 uint32_t
2484 2484 9936 4 uint32_t
2485 2485 9940 4 uint32_t
2486 2486 9944 4 uint32_t
2487 2487 9948 4 uint32_t
2488 2488 9952 4 uint32_t
2489 2489 9956 4 uint32_t
2490 2490 9960 4 uint32_t
2491 2491 9964 4 uint32_t
2492 2492 9968 4 uint32_t
2493 2493 9972 4 uint32_t
2494 2494 9976 4 uint32_t
2495 2495 9980 4 uint32_t
2496 2496 9984 4 uint32_t
2497 2497 9988 4 uint32_t
2498 2498 9992 4 uint32_t
2499 2499 9996 4 uint32_t
2500 2500 10000 4 uint32_t
2501 2501 10004 4 uint32_t
2502 2502 10008 4 uint32_t
2503 2503 10012 4 uint32_t
2504 2504 10016 4 uint32_t
2505 2505 10020 4 uint32_t
2506 2506 10024 4 uint32_t
2507 2507 10028 4 uint32_t
2508 2508 10032 4 uint32_t
2509 2509 10036 4 uint32_t
2510 2510 10040 4 uint32_t
2511 2511 10044 4 uint32_t
2512 2512 10048 4 uint32_t
2513 2513 10052 4 uint32_t
2514 2514 10056 4 uint32_t
2515 2515 10060 4 uint32_t
2516 2516 10064 4 uint32_t
2517 2517 10068 4 uint32_t
2518 2518 10072 4 uint32_t
2519 2519 10076 4 uint32_t
2520 2520 10080 4 uint32_t
2521 2521 10084 4 uint32_t
2522 2522 10088 4 uint32_t
2523 2523 10092 4 uint32_t
2524 2524 10096 4 uint32_t
2525 2525 10100 4 uint32_t
2526 2526 10104 4 uint32_t
2527 2527 10108 4 uint32_t
2528 2528 10112 4 uint32_t
2529 2529 10116 4 uint32_t
2530 2530 10120 4 uint32_t
2531 2531 10124 4 uint32_t
2532 2532 10128 4 uint32_t
2533 2533 10132 4 uint32_t
2534 2534 10136 4 uint32_t
2535 2535 10140 4 uint32_t
2536 2536 10144 4 uint32_t
2537 2537 10148 4 uint32_t
2538 2538 10152 4 uint32_t
2539 2539 10156 4 uint32_t
2540 2540 10160 4 uint32_t
2541 2541 10164 4 uint32_t
2542 2542 10168 4 uint32_t
2543 2543 10172 4 uint32_t
2544 2544 10176 4 uint32_t
2545 2545 10180 4 uint32_t
2546 2546 10184 4 uint32_t
2547 2547 10188 4 uint32_t
2548 2548 10192 4 uint32_t
2549 2549 10196 4 uint32_t
2550 2550 10200 4 uint32_t
2551 2551 10204 4 uint32_t
2552 2552 10208 4 uint32_t
2553 2553 10212 4 uint32_t
2554 2554 10216 4 uint32_t
2555 2555 10220 4 uint32_t
2556 2556 10224 4 uint32_t
2557 2557 10228 4 uint32_t
2558 2558 10232 4 uint32_t
2559 2559 10236 4 uint32_t
2560 2560 10240 4 uint32_t
2561 2561 10244 4 uint32_t
2562 2562 10248 4 uint32_t
2563 2563 10252 4 uint32_t
2564 2564 10256 4 uint32_t
2565 2565 10260 4 uint32_t
2566 2566 10264 4 uint32_t
2567 2567 10268 4 uint32_t
2568 2568 10272 4 uint32_t
2569 2569 10276 4 uint32_t
2570 2570 10280 4 uint32_t
2571 2571 10284 4 uint32_t
2572 2572 10288 4 uint32_t
2573 2573 10292 4 uint32_t
2574 2574 10296 4 uint32_t
2575 2575 10300 4 uint32_t
2576 2576 10304 4 uint32_t
2577 2577 10308 4 uint32_t
2578 2578 10312 4 uint32_t
2579 2579 10316 4 uint32_t
2580 2580 10320 4 uint32_t
2581 2581 10324 4 uint32_t
2582 2582 10328 4 uint32_t
2583 2583 10332 4 uint32_t
2584 2584 10336 4 uint32_t
2585 2585 10340 4 uint32_t
2586 2586 10344 4 uint32_t
2587 2587 10348 4 uint32_t
2588 2588 10352 4 uint32_t
2589 2589 10356 4 uint32_t
2590 2590 10360 4 uint32_t
2591 2591 10364 4 uint32_t
2592 2592 10368 4 uint32_t
2593 2593 10372 4 uint32_t
2594 2594 10376 4 uint32_t
2595 2595 10380 4 uint32_t
2596 2596 10384 4 uint32_t
2597 2597 10388 4 uint32_t
2598 2598 10392 4 uint32_t
2599 2599 10396 4 uint32_t
2600 2600 10400 4 uint32_t
2601 2601 10404 4 uint32_t
2602 2602 10408 4 uint32_t
2603 2603 10412 4 uint32_t
2604 2604 10416 4 uint32_t
2605 2605 10420 4 uint32_t
2606 2606 10424 4 uint32_t
2607 2607 10428 4 uint32_t
2608 2608 10432 4 uint32_t
2609 2609 10436 4 uint32_t
2610 2610 10440 4 uint32_t
2611 2611 10444 4 uint32_t
2612 2612 10448 4 uint32_t
2613 2613 10452 4 uint32_t
2614 2614 10456 4 uint32_t
2615 2615 10460 4 uint32_t
2616 2616 10464 4 uint32_t
2617 2617 10468 4 uint32_t
2618 2618 10472 4 uint32_t
2619 2619 10476 4 uint32_t
2620 2620 10480 4 uint32_t
2621 2621 10484 4 uint32_t
2622 2622 10488 4 uint32_t
2623 2623 10492 4 uint32_t
2624 2624 10496 4 uint32_t
2625 2625 10500 4 uint32_t
2626 2626 10504 4 uint32_t
2627 2627 10508 4 uint32_t
2628 2628 10512 4 uint32_t
2629 2629 10516 4 uint32_t
2630 2630 10520 4 uint32_t
2631 2631 10524 4 uint32_t
2632 2632 10528 4 uint32_t
2633 2633 10532 4 uint32_t
2634 2634 10536 4 uint32_t
2635 2635 10540 4 uint32_t
2636 2636 10544 4 uint32_t
2637 2637 10548 4 uint32_t
2638 2638 10552 4 uint32_t
2639 2639 10556 4 uint32_t
2640 2640 10560 4 uint32_t
2641 2641 10564 4 uint32_t
2642 2642 10568 4 uint32_t
2643 2643 10572 4 uint32_t
2644 2644 10576 4 uint32_t
2645 2645 10580 4 uint32_t
2646 2646 10584 4 uint32_t
2647 2647 10588 4 uint32_t
2648 2648 10592 4 uint32_t
2649 2649 10596 4 uint32_t
2650 2650 10600 4 uint32_t
2651 2651 10604 4 uint32_t
2652 2652 10608 4 uint32_t
2653 2653 10612 4 uint32_t
2654 2654 10616 4 uint32_t
2655 2655 10620 4 uint32_t
2656 2656 10624 4 uint32_t
2657 2657 10628 4 uint32_t
2658 2658 10632 4 uint32_t
2659 2659 10636 4 uint32_t
2660 2660 10640 4 uint32_t
2661 2661 10644 4 uint32_t
2662 2662 10648 4 uint32_t
2663 2663 10652 4 uint32_t
2664 2664 10656 4 uint32_t
2665 2665 10660 4 uint32_t
2666 2666 10664 4 uint32_t
2667 2667 10668 4 uint32_t
2668 2668 10672 4 uint32_t
2669 2669 10676 4 uint32_t
2670 2670 10680 4 uint32_t
2671 2671 10684 4 uint32_t
2672 2672 10688 4 uint32_t
2673 2673 10692 4 uint32_t
2674 2674 10696 4 uint32_t
2675 2675 10700 4 uint32_t
2676 2676 10704 4 uint32_t
2677 2677 10708 4 uint32_t
2678 2678 10712 4 uint32_t
2679 2679 10716 4 uint32_t
2680 2680 10720 4 uint32_t
2681 2681 10724 4 uint32_t
2682 2682 10728 4 uint32_t
2683 2683 10732 4 uint32_t
2684 2684 10736 4 uint32_t
2685 2685 10740 4 uint32_t
2686 2686 10744 4 uint32_t
2687 2687 10748 4 uint32_t
2688 2688 10752 4 uint32_t
2689 2689 10756 4 uint32_t
2690 2690 10760 4 uint32_t
2691 2691 10764 4 uint32_t
2692 2692 10768 4 uint32_t
2693 2693 10772 4 uint32_t
2694 2694 10776 4 uint32_t
2695 2695 10780 4 uint32_t
2696 2696 10784 4 uint32_t
2697 2697 10788 4 uint32_t
2698 2698 10792 4 uint32_t
2699 2699 10796 4 uint32_t
2700 2700 10800 4 uint32_t
2701 2701 10804 4 uint32_t
2702 2702 10808 4 uint32_t
2703 2703 10812 4 uint32_t
2704 2704 10816 4 uint32_t
2705 2705 10820 4 uint32_t
2706 2706 10824 4 uint32_t
2707 2707 10828 4 uint32_t
2708 2708 10832 4 uint32_t
2709 2709 10836 4 uint32_t
2710 2710 10840 4 uint32_t
2711 2711 10844 4 uint32_t
2712 2712 10848 4 uint32_t
2713 2713 10852 4 uint32_t
2714 2714 10856 4 uint32_t
2715 2715 10860 4 uint32_t
2716 2716 10864 4 uint32_t
2717 2717 10868 4 uint32_t
2718 2718 10872 4 uint32_t
2719 2719 10876 4 uint32_t
2720 2720 10880 4 uint32_t
2721 2721 10884 4 uint32_t
2722 2722 10888 4 uint32_t
2723 2723 10892 4 uint32_t
2724 2724 10896 4 uint32_t
2725 2725 10900 4 uint32_t
2726 2726 10904 4 uint32_t
2727 2727 10908 4 uint32_t
2728 2728 10912 4 uint32_t
2729 2729 10916 4 uint32_t
2730 2730 10920 4 uint32_t
2731 2731 10924 4 uint32_t
2732 2732 10928 4 uint32_t
2733 2733 10932 4 uint32_t
2734 2734 10936 4 uint32_t
2735 2735 10940 4 uint32_t
2736 2736 10944 4 uint32_t
2737 2737 10948 4 uint32_t
2738 2738 10952 4 uint32_t
2739 2739 10956 4 uint32_t
2740 2740 10960 4 uint32_t
2741 2741 10964 4 uint32_t
2742 2742 10968 4 uint32_t
2743 2743 10972 4 uint32_t
2744 2744 10976 4 uint32_t
2745 2745 10980 4 uint32_t
2746 2746 10984 4 uint32_t
2747 2747 10988 4 uint32_t
2748 2748 10992 4 uint32_t
2749 2749 10996 4 uint32_t
2750 2750 11000 4 uint32_t
2751 2751 11004 4 uint32_t
2752 2752 11008 4 uint32_t
2753 2753 11012 4 uint32_t
2754 2754 11016 4 uint32_t
2755 2755 11020 4 uint32_t
2756 2756 11024 4 uint32_t
2757 2757 11028 4 uint32_t
2758 2758 11032 4 uint32_t
2759 2759 11036 4 uint32_t
2760 2760 11040 4 uint32_t
2761 2761 11044 4 uint32_t
2762 2762 11048 4 uint32_t
2763 2763 11052 4 uint32_t
2764 2764 11056 4 uint32_t
2765 2765 11060 4 uint32_t
2766 2766 11064 4 uint32_t
2767 2767 11068 4 uint32_t
2768 2768 11072 4 uint32_t
2769 2769 11076 4 uint32_t
2770 2770 11080 4 uint32_t
2771 2771 11084 4 uint32_t
2772 2772 11088 4 uint32_t
2773 2773 11092 4 uint32_t
2774 2774 11096 4 uint32_t
2775 2775 11100 4 uint32_t
2776 2776 11104 4 uint32_t
2777 2777 11108 4 uint32_t
2778 2778 11112 4 uint32_t
2779 2779 11116 4 uint32_t
2780 2780 11120 4 uint32_t
2781 2781 11124 4 uint32_t
2782 2782 11128 4 uint32_t
2783 2783 11132 4 uint32_t
2784 2784 11136 4 uint32_t
2785 2785 11140 4 uint32_t
2786 2786 11144 4 uint32_t
2787 2787 11148 4 uint32_t
2788 2788 11152 4 uint32_t
2789 2789 11156 4 uint32_t
2790 2790 11160 4 uint32_t
2791 2791 11164 4 uint32_t
2792 2792 11168 4 uint32_t
2793 2793 11172 4 uint32_t
2794 2794 11176 4 uint32_t
2795 2795 11180 4 uint32_t
2796 2796 11184 4 uint32_t
2797 2797 11188 4 uint32_t
2798 2798 11192 4 uint32_t
2799 2799 11196 4 uint32_t
2800 2800 11200 4 uint32_t
2801 2801 11204 4 uint32_t
2802 2802 11208 4 uint32_t
2803 2803 11212 4 uint32_t
2804 2804 11216 4 uint32_t
2805 2805 11220 4 uint32_t
2806 2806 11224 4 uint32_t
2807 2807 11228 4 uint32_t
mt print reggroups
2808 2808 11232 4 uint32_t
2809 2809 11236 4 uint32_t
2810 2810 11240 4 uint32_t
2811 2811 11244 4 uint32_t
2812 2812 11248 4 uint32_t
2813 2813 11252 4 uint32_t
2814 2814 11256 4 uint32_t
2815 2815 11260 4 uint32_t
2816 2816 11264 4 uint32_t
2817 2817 11268 4 uint32_t
2818 2818 11272 4 uint32_t
2819 2819 11276 4 uint32_t
2820 2820 11280 4 uint32_t
2821 2821 11284 4 uint32_t
2822 2822 11288 4 uint32_t
2823 2823 11292 4 uint32_t
2824 2824 11296 4 uint32_t
2825 2825 11300 4 uint32_t
2826 2826 11304 4 uint32_t
2827 2827 11308 4 uint32_t
2828 2828 11312 4 uint32_t
2829 2829 11316 4 uint32_t
2830 2830 11320 4 uint32_t
2831 2831 11324 4 uint32_t
2832 2832 11328 4 uint32_t
2833 2833 11332 4 uint32_t
2834 2834 11336 4 uint32_t
2835 2835 11340 4 uint32_t
2836 2836 11344 4 uint32_t
2837 2837 11348 4 uint32_t
2838 2838 11352 4 uint32_t
2839 2839 11356 4 uint32_t
2840 2840 11360 4 uint32_t
2841 2841 11364 4 uint32_t
2842 2842 11368 4 uint32_t
2843 2843 11372 4 uint32_t
2844 2844 11376 4 uint32_t
2845 2845 11380 4 uint32_t
2846 2846 11384 4 uint32_t
2847 2847 11388 4 uint32_t
2848 2848 11392 4 uint32_t
2849 2849 11396 4 uint32_t
2850 2850 11400 4 uint32_t
2851 2851 11404 4 uint32_t
2852 2852 11408 4 uint32_t
2853 2853 11412 4 uint32_t
2854 2854 11416 4 uint32_t
2855 2855 11420 4 uint32_t
2856 2856 11424 4 uint32_t
2857 2857 11428 4 uint32_t
2858 2858 11432 4 uint32_t
2859 2859 11436 4 uint32_t
2860 2860 11440 4 uint32_t
2861 2861 11444 4 uint32_t
2862 2862 11448 4 uint32_t
2863 2863 11452 4 uint32_t
2864 2864 11456 4 uint32_t
2865 2865 11460 4 uint32_t
2866 2866 11464 4 uint32_t
2867 2867 11468 4 uint32_t
2868 2868 11472 4 uint32_t
2869 2869 11476 4 uint32_t
2870 2870 11480 4 uint32_t
2871 2871 11484 4 uint32_t
2872 2872 11488 4 uint32_t
2873 2873 11492 4 uint32_t
2874 2874 11496 4 uint32_t
2875 2875 11500 4 uint32_t
2876 2876 11504 4 uint32_t
2877 2877 11508 4 uint32_t
2878 2878 11512 4 uint32_t
2879 2879 11516 4 uint32_t
2880 2880 11520 4 uint32_t
2881 2881 11524 4 uint32_t
2882 2882 11528 4 uint32_t
2883 2883 11532 4 uint32_t
2884 2884 11536 4 uint32_t
2885 2885 11540 4 uint32_t
2886 2886 11544 4 uint32_t
2887 2887 11548 4 uint32_t
2888 2888 11552 4 uint32_t
2889 2889 11556 4 uint32_t
2890 2890 11560 4 uint32_t
2891 2891 11564 4 uint32_t
2892 2892 11568 4 uint32_t
2893 2893 11572 4 uint32_t
2894 2894 11576 4 uint32_t
2895 2895 11580 4 uint32_t
2896 2896 11584 4 uint32_t
2897 2897 11588 4 uint32_t
2898 2898 11592 4 uint32_t
2899 2899 11596 4 uint32_t
2900 2900 11600 4 uint32_t
2901 2901 11604 4 uint32_t
2902 2902 11608 4 uint32_t
2903 2903 11612 4 uint32_t
2904 2904 11616 4 uint32_t
2905 2905 11620 4 uint32_t
2906 2906 11624 4 uint32_t
2907 2907 11628 4 uint32_t
2908 2908 11632 4 uint32_t
2909 2909 11636 4 uint32_t
2910 2910 11640 4 uint32_t
2911 2911 11644 4 uint32_t
2912 2912 11648 4 uint32_t
2913 2913 11652 4 uint32_t
2914 2914 11656 4 uint32_t
2915 2915 11660 4 uint32_t
2916 2916 11664 4 uint32_t
2917 2917 11668 4 uint32_t
2918 2918 11672 4 uint32_t
2919 2919 11676 4 uint32_t
2920 2920 11680 4 uint32_t
2921 2921 11684 4 uint32_t
2922 2922 11688 4 uint32_t
2923 2923 11692 4 uint32_t
2924 2924 11696 4 uint32_t
2925 2925 11700 4 uint32_t
2926 2926 11704 4 uint32_t
2927 2927 11708 4 uint32_t
2928 2928 11712 4 uint32_t
2929 2929 11716 4 uint32_t
2930 2930 11720 4 uint32_t
2931 2931 11724 4 uint32_t
2932 2932 11728 4 uint32_t
2933 2933 11732 4 uint32_t
2934 2934 11736 4 uint32_t
2935 2935 11740 4 uint32_t
2936 2936 11744 4 uint32_t
2937 2937 11748 4 uint32_t
2938 2938 11752 4 uint32_t
2939 2939 11756 4 uint32_t
2940 2940 11760 4 uint32_t
2941 2941 11764 4 uint32_t
2942 2942 11768 4 uint32_t
2943 2943 11772 4 uint32_t
2944 2944 11776 4 uint32_t
2945 2945 11780 4 uint32_t
2946 2946 11784 4 uint32_t
2947 2947 11788 4 uint32_t
2948 2948 11792 4 uint32_t
2949 2949 11796 4 uint32_t
2950 2950 11800 4 uint32_t
2951 2951 11804 4 uint32_t
2952 2952 11808 4 uint32_t
2953 2953 11812 4 uint32_t
2954 2954 11816 4 uint32_t
2955 2955 11820 4 uint32_t
2956 2956 11824 4 uint32_t
2957 2957 11828 4 uint32_t
2958 2958 11832 4 uint32_t
2959 2959 11836 4 uint32_t
2960 2960 11840 4 uint32_t
2961 2961 11844 4 uint32_t
2962 2962 11848 4 uint32_t
2963 2963 11852 4 uint32_t
2964 2964 11856 4 uint32_t
2965 2965 11860 4 uint32_t
2966 2966 11864 4 uint32_t
2967 2967 11868 4 uint32_t
2968 2968 11872 4 uint32_t
2969 2969 11876 4 uint32_t
2970 2970 11880 4 uint32_t
2971 2971 11884 4 uint32_t
2972 2972 11888 4 uint32_t
2973 2973 11892 4 uint32_t
2974 2974 11896 4 uint32_t
2975 2975 11900 4 uint32_t
2976 2976 11904 4 uint32_t
2977 2977 11908 4 uint32_t
2978 2978 11912 4 uint32_t
2979 2979 11916 4 uint32_t
2980 2980 11920 4 uint32_t
2981 2981 11924 4 uint32_t
2982 2982 11928 4 uint32_t
2983 2983 11932 4 uint32_t
2984 2984 11936 4 uint32_t
2985 2985 11940 4 uint32_t
2986 2986 11944 4 uint32_t
2987 2987 11948 4 uint32_t
2988 2988 11952 4 uint32_t
2989 2989 11956 4 uint32_t
2990 2990 11960 4 uint3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment