Skip to content

Instantly share code, notes, and snippets.

@stffrdhrn
Created May 11, 2016 13:15
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/306f52affee6c0d3339cd1e91fa50d28 to your computer and use it in GitHub Desktop.
Save stffrdhrn/306f52affee6c0d3339cd1e91fa50d28 to your computer and use it in GitHub Desktop.
(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)
$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)
$44 = 0
(gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val2,string_val1)
p t_string_values(string_val1,string_val2)
$45 = 1
(gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val1,string_val2)
--
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns double
p t_structs_fc(struct_val1)
$82 = 3 + 3 * I
(gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns float _Complex
p t_structs_dc(struct_val1)
$83 = 0 + 0 * I
(gdb) FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns double _Complex
p t_structs_ldc(struct_val1)
$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)
$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
--
(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)
$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)
$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)
$45 = 1
(gdb) PASS: gdb.base/callfuncs.exp: noproto: p t_string_values(string_val1,string_val2)
--
(gdb) PASS: gdb.base/callfuncs.exp: noproto: call inferior func with struct - returns double
p t_structs_fc(struct_val1)
$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)
$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)
$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)
$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
--
(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.
--
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.
--
(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
--
info registers save
info registers sr
info registers system
info registers vector
(gdb) show editing
Editing of command lines as they are typed is on.
(gdb) hfgfhshow outputshow output-pp info t fooinfo tinfo t info asdfghinfo asdfgh infoinfo info help info watp "break1p "break1.p 'argp 'arghandle sigqhandle noshelp user-definep no_var_named_this-argp no_var_named_this-argFAIL: gdb.base/completion.exp: complete (2) 'p no_var_named_this-arg' (timeout)
p no_var_named_this-FAIL: gdb.base/completion.exp: complete (2) 'p no_var_named_this-' (timeout)
p values[0].aFAIL: gdb.base/completion.exp: complete 'p values[0].a' (timeout)
p values[0] . aFAIL: gdb.base/completion.exp: complete 'p values[0] . a' (timeout)
p &values[0] -> aFAIL: gdb.base/completion.exp: complete 'p &values[0] -> a' (timeout)
complete p &values[0]->z
Undefined command: "hfgfhshow". Try "help".
(gdb) ERROR: Undefined command "complete p &values[0]->z".
UNRESOLVED: gdb.base/completion.exp: completion of field in anonymous union
complete ptype &values[0]->z
ptype &values[0]->z_field
--
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
--
char cv __attribute__ ((vector_size(4)));
float4 f4;
}
(gdb) PASS: gdb.base/gnu_vector.exp: ptype struct_with_vector_1
print add_some_intvecs(i4a, i4b, 3 * i4a)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/gnu_vector.exp: call add_some_intvecs
print add_many_charvecs(c4, c4, c4, c4, c4, c4, c4, c4, c4, c4)
$57 = {10, 20, 30, 40}
(gdb) PASS: gdb.base/gnu_vector.exp: call add_many_charvecs
print add_various_floatvecs(2, f4a, f4b)
That operation is not available on integers of more than 8 bytes.
(gdb) FAIL: gdb.base/gnu_vector.exp: call add_various_floatvecs
print add_structvecs(i2, (struct just_int2){2*i2}, (struct two_int2){3*i2, 4*i2})
$58 = {i = {1, 2}}
(gdb) FAIL: gdb.base/gnu_vector.exp: call add_structvecs
print add_singlevecs((char1) {6}, (int1) {12}, (double1) {24})
core: 4 byte misaligned write to address 0x6 at 0x2aac
Program received signal SIGBUS, Bus error.
0x00002aac in add_singlevecs (a=..., b=..., c=...) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/gnu_vector.c:131
131 return (double1) {a[0] + b[0] + c[0]};
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(add_singlevecs) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) FAIL: gdb.base/gnu_vector.exp: call add_singlevecs
break add_some_intvecs
Breakpoint 2 at 0x241c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/gnu_vector.c, line 87.
(gdb) continue
Continuing.
core: 4 byte misaligned write to address 0x6 at 0x2aac
Program received signal SIGBUS, Bus error.
0x00002aac in add_singlevecs (a=..., b=..., c=...) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/gnu_vector.c:131
131 return (double1) {a[0] + b[0] + c[0]};
(gdb) FAIL: gdb.base/gnu_vector.exp: continue to add_some_intvecs
finish
Run till exit from #0 0x00002aac in add_singlevecs (a=..., b=..., c=...) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/gnu_vector.c:131
core: 4 byte misaligned write to address 0x6 at 0x2aac
Program received signal SIGBUS, Bus error.
0x00002aac in add_singlevecs (a=..., b=..., c=...) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/gnu_vector.c:131
131 return (double1) {a[0] + b[0] + c[0]};
(gdb) FAIL: gdb.base/gnu_vector.exp: finish shows vector return value
continue
Continuing.
core: 4 byte misaligned write to address 0x6 at 0x2aac
Program received signal SIGBUS, Bus error.
0x00002aac in add_singlevecs (a=..., b=..., c=...) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/gnu_vector.c:131
131 return (double1) {a[0] + b[0] + c[0]};
(gdb) FAIL: gdb.base/gnu_vector.exp: continue to add_some_intvecs
up
#1 <function called from gdb>
(gdb) PASS: gdb.base/gnu_vector.exp: up
p res
No symbol "res" in current context.
(gdb) FAIL: gdb.base/gnu_vector.exp: p res
down
#0 0x00002aac in add_singlevecs (a=..., b=..., c=...) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/gnu_vector.c:131
131 return (double1) {a[0] + b[0] + c[0]};
(gdb) PASS: gdb.base/gnu_vector.exp: down
return (int4) {4, 2, 7, 6}
Cannot convert between vector values of different sizes
(gdb) FAIL: gdb.base/gnu_vector.exp: return from vector-valued function
next
core: 4 byte misaligned write to address 0x6 at 0x2aac
Program received signal SIGBUS, Bus error.
0x00002aac in add_singlevecs (a=..., b=..., c=...) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/gnu_vector.c:131
131 return (double1) {a[0] + b[0] + c[0]};
(gdb) PASS: gdb.base/gnu_vector.exp: next
p res
No symbol "res" in current context.
(gdb) FAIL: gdb.base/gnu_vector.exp: verify vector return value
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/gnu_vector.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/hashline1.exp ...
Executing on host: or1k-elf-gcc outputs/gdb.base/hashline1/hashline1.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/hashline1/hashline1 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc outputs/gdb.base/hashline1/hashline1.c -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/hashline1/hashline1
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
--
Error while running hook_stop:
Asynchronous execution not supported on this target.
Breakpoint 2, func () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/hook-stop.c:23
23 a = 1; /* set breakpoint here */
(gdb) PASS: gdb.base/hook-stop.exp: hook-stop runs continue&: run hook-stop
FAIL: gdb.base/hook-stop.exp: hook-stop runs continue&: inferior exits normally (timeout)
info threads
Id Target Id Frame
* 1 process 42000 func () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/hook-stop.c:23
(gdb) FAIL: gdb.base/hook-stop.exp: hook-stop runs continue&: info threads
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"
--
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/info-macros.c:0
-D__has_include(STR)=__has_include__(STR)
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/info-macros.c:0
-D__has_include_next(STR)=__has_include_next__(STR)
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/info-macros.c:0
-D__or1k__=1
(gdb) KFAIL: gdb.base/info-macros.exp: info macros info-macros.c:42 (PRMS: gdb/NNNN)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/info-macros.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/info-os.exp ...
UNSUPPORTED: gdb.base/info-os.exp: info-os.exp
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/info-os.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/info-proc.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/info-proc/info-proc0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/break.c (timeout = 300)
--
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) print pid
$1 = -1
(gdb) FAIL: gdb.base/killed-outside.exp: continue: get pid of inferior
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"
--
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) print pid
$1 = -1
(gdb) FAIL: gdb.base/killed-outside.exp: stepi: get pid of inferior
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"
--
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) print pid
$1 = -1
(gdb) FAIL: gdb.base/killed-outside.exp: registers: get pid of inferior
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"
--
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) print pid
$1 = -1
(gdb) FAIL: gdb.base/killed-outside.exp: info threads: get pid of inferior
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/killed-outside.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/label.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/label.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/langs.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/langs/langs0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/langs0.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/langs/langs0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/langs0.c
--
7 ! */
8 {
9 bar (x++);
10 bar (x++);
11 bar (x++);
12 bar (x++);
(gdb) XFAIL: gdb.base/list.exp: list filename:function; wrong filename rejected
list foobar.c:main
No source file named foobar.c.
(gdb) PASS: gdb.base/list.exp: list filename:function; nonexistant file
list list0.h:foobar
Function "foobar" not defined in "list0.h".
(gdb) PASS: gdb.base/list.exp: list filename:function; nonexistant function
--
(gdb) PASS: gdb.base/long_long.exp: p/t *(long long *)ll
p/a *(long long *)ll
$64 = 0x89abcdef
(gdb) PASS: gdb.base/long_long.exp: p/a *(long long *)ll
p/f *(long long *)ll
$65 = 3.5127005635875248e-303
(gdb) FAIL: gdb.base/long_long.exp: p/f *(long long *)ll
p/c *(long long *)ll
$66 = -17 '\357'
(gdb) PASS: gdb.base/long_long.exp: p/c *(long long *)ll
x/w w
0x48d8 <w>: 103 'g'
(gdb) PASS: gdb.base/long_long.exp: set examine size to w
--
(gdb) PASS: gdb.base/long_long.exp: x/2ga g
x/2gc g
0x48c8 <g>: -17 '\357' 119 'w'
(gdb) PASS: gdb.base/long_long.exp: x/2gc g
x/2gf g
0x48c8 <g>: 3.5127005635875248e-303 -5.9822653797615723e-120
(gdb) FAIL: gdb.base/long_long.exp: x/2gf g
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/long_long.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/longest-types.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/longest-types/longest-types0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/longest-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/longest-types/longest-types0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/longest-types.c
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/longest-types.c:20:8: error: size of array 'buf' is too large
char buf[0xffff000000];
--
(gdb) PASS: gdb.base/longjmp.exp: next over setjmp (1)
next
52 longjmp (env, 1);
(gdb) PASS: gdb.base/longjmp.exp: next to longjmp (1)
next
56 resumes++;
(gdb) FAIL: gdb.base/longjmp.exp: next over longjmp(1)
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break 63
Breakpoint 4 at 0x24e4: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/longjmp.c, line 63.
--
65 call_longjmp (&env);
(gdb) PASS: gdb.base/longjmp.exp: next over setjmp (2)
next
Breakpoint 5, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/longjmp.c:72
72 i = 2; /* miss_step_2 */
(gdb) FAIL: gdb.base/longjmp.exp: next over call_longjmp (2)
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break 75
Breakpoint 6 at 0x2540: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/longjmp.c, line 75.
--
(gdb) PASS: gdb.base/macscp.exp: list macscp4_2_from_macscp3
info macro WHERE
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:29
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
#define WHERE before macscp4_2_..., from macscp2.h
(gdb) KFAIL: gdb.base/macscp.exp: info macro WHERE after `list macscp_4_2_from_macscp3' (gdb/555) (PRMS: gdb/555)
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x265c: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c, line 102.
(gdb) target sim
--
(gdb) PASS: gdb.base/macscp.exp: continue to macscp4_1_from_macscp3
info macro WHERE
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:12
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
#define WHERE before macscp4_1_..., from macscp2.h
(gdb) KFAIL: gdb.base/macscp.exp: info macro WHERE stopped in macscp4_1_from_macscp3 (gdb/555) (PRMS: gdb/555)
info macro BEFORE_MACSCP1_1
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:53
#define BEFORE_MACSCP1_1
(gdb) PASS: gdb.base/macscp.exp: BEFORE_MACSCP1_1 defined/undefined when stopped at macscp4_1_from_macscp3
info macro UNTIL_MACSCP1_1
The symbol `UNTIL_MACSCP1_1' has no definition as a C/C++ preprocessor macro
--
(gdb) PASS: gdb.base/macscp.exp: UNTIL_MACSCP4_1_FROM_MACSCP2 defined/undefined when stopped at macscp4_1_from_macscp3
info macro BEFORE_MACSCP4_2_FROM_MACSCP2
The symbol `BEFORE_MACSCP4_2_FROM_MACSCP2' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:24
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) KFAIL: gdb.base/macscp.exp: BEFORE_MACSCP4_2_FROM_MACSCP2 defined/undefined when stopped at macscp4_1_from_macscp3 (PRMS: gdb/555)
info macro UNTIL_MACSCP4_2_FROM_MACSCP2
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:43
#define UNTIL_MACSCP4_2_FROM_MACSCP2
(gdb) KFAIL: gdb.base/macscp.exp: UNTIL_MACSCP4_2_FROM_MACSCP2 defined/undefined when stopped at macscp4_1_from_macscp3 (PRMS: gdb/555)
info macro BEFORE_MACSCP2_2
The symbol `BEFORE_MACSCP2_2' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:24
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) KFAIL: gdb.base/macscp.exp: BEFORE_MACSCP2_2 defined/undefined when stopped at macscp4_1_from_macscp3 (PRMS: gdb/555)
info macro UNTIL_MACSCP2_2
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:44
#define UNTIL_MACSCP2_2
(gdb) KFAIL: gdb.base/macscp.exp: UNTIL_MACSCP2_2 defined/undefined when stopped at macscp4_1_from_macscp3 (PRMS: gdb/555)
info macro BEFORE_MACSCP1_2
The symbol `BEFORE_MACSCP1_2' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:24
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) KFAIL: gdb.base/macscp.exp: BEFORE_MACSCP1_2 defined/undefined when stopped at macscp4_1_from_macscp3 (PRMS: gdb/555)
info macro UNTIL_MACSCP1_2
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:45
#define UNTIL_MACSCP1_2
(gdb) KFAIL: gdb.base/macscp.exp: UNTIL_MACSCP1_2 defined/undefined when stopped at macscp4_1_from_macscp3 (PRMS: gdb/555)
info macro BEFORE_MACSCP3_1
The symbol `BEFORE_MACSCP3_1' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:24
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) KFAIL: gdb.base/macscp.exp: BEFORE_MACSCP3_1 defined/undefined when stopped at macscp4_1_from_macscp3 (PRMS: gdb/555)
info macro UNTIL_MACSCP3_1
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:46
#define UNTIL_MACSCP3_1
(gdb) KFAIL: gdb.base/macscp.exp: UNTIL_MACSCP3_1 defined/undefined when stopped at macscp4_1_from_macscp3 (PRMS: gdb/555)
info macro BEFORE_MACSCP4_2_FROM_MACSCP3
The symbol `BEFORE_MACSCP4_2_FROM_MACSCP3' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:24
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) PASS: gdb.base/macscp.exp: BEFORE_MACSCP4_2_FROM_MACSCP3 defined/undefined when stopped at macscp4_1_from_macscp3
--
(gdb) PASS: gdb.base/macscp.exp: continue to macscp4_2_from_macscp3
info macro WHERE
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:29
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
#define WHERE before macscp4_2_..., from macscp2.h
(gdb) KFAIL: gdb.base/macscp.exp: info macro WHERE stopped in macscp4_2_from_macscp3 (gdb/555) (PRMS: gdb/555)
info macro BEFORE_MACSCP1_1
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:53
#define BEFORE_MACSCP1_1
(gdb) PASS: gdb.base/macscp.exp: BEFORE_MACSCP1_1 defined/undefined when stopped at macscp4_2_from_macscp3
info macro UNTIL_MACSCP1_1
The symbol `UNTIL_MACSCP1_1' has no definition as a C/C++ preprocessor macro
--
(gdb) PASS: gdb.base/macscp.exp: UNTIL_MACSCP4_2_FROM_MACSCP2 defined/undefined when stopped at macscp4_2_from_macscp3
info macro BEFORE_MACSCP2_2
The symbol `BEFORE_MACSCP2_2' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:41
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) KFAIL: gdb.base/macscp.exp: BEFORE_MACSCP2_2 defined/undefined when stopped at macscp4_2_from_macscp3 (PRMS: gdb/555)
info macro UNTIL_MACSCP2_2
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:44
#define UNTIL_MACSCP2_2
(gdb) KFAIL: gdb.base/macscp.exp: UNTIL_MACSCP2_2 defined/undefined when stopped at macscp4_2_from_macscp3 (PRMS: gdb/555)
info macro BEFORE_MACSCP1_2
The symbol `BEFORE_MACSCP1_2' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:41
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) KFAIL: gdb.base/macscp.exp: BEFORE_MACSCP1_2 defined/undefined when stopped at macscp4_2_from_macscp3 (PRMS: gdb/555)
info macro UNTIL_MACSCP1_2
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:45
#define UNTIL_MACSCP1_2
(gdb) KFAIL: gdb.base/macscp.exp: UNTIL_MACSCP1_2 defined/undefined when stopped at macscp4_2_from_macscp3 (PRMS: gdb/555)
info macro BEFORE_MACSCP3_1
The symbol `BEFORE_MACSCP3_1' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:41
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) KFAIL: gdb.base/macscp.exp: BEFORE_MACSCP3_1 defined/undefined when stopped at macscp4_2_from_macscp3 (PRMS: gdb/555)
info macro UNTIL_MACSCP3_1
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:46
#define UNTIL_MACSCP3_1
(gdb) KFAIL: gdb.base/macscp.exp: UNTIL_MACSCP3_1 defined/undefined when stopped at macscp4_2_from_macscp3 (PRMS: gdb/555)
info macro BEFORE_MACSCP4_1_FROM_MACSCP3
The symbol `BEFORE_MACSCP4_1_FROM_MACSCP3' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:41
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) KFAIL: gdb.base/macscp.exp: BEFORE_MACSCP4_1_FROM_MACSCP3 defined/undefined when stopped at macscp4_2_from_macscp3 (PRMS: gdb/555)
info macro UNTIL_MACSCP4_1_FROM_MACSCP3
Defined at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:47
#define UNTIL_MACSCP4_1_FROM_MACSCP3
(gdb) KFAIL: gdb.base/macscp.exp: UNTIL_MACSCP4_1_FROM_MACSCP3 defined/undefined when stopped at macscp4_2_from_macscp3 (PRMS: gdb/555)
info macro BEFORE_MACSCP3_2
The symbol `BEFORE_MACSCP3_2' has no definition as a C/C++ preprocessor macro
at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp4.h:41
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp2.h:13
included at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/macscp1.c:61
(gdb) PASS: gdb.base/macscp.exp: BEFORE_MACSCP3_2 defined/undefined when stopped at macscp4_2_from_macscp3
--
11 {
(gdb) backtrace
#0 middle (x=0) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/mips_pro.c:11
#1 0x00002448 in top (y=<optimized out>) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/mips_pro.c:21
#2 0x007fdff8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) FAIL: gdb.base/mips_pro.exp: backtrace
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/mips_pro.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/miscexprs.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/miscexprs.c -DSTORAGE= -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/miscexprs/miscexprs (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/miscexprs.c -DSTORAGE= -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/miscexprs/miscexprs
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
--
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/nostdlib/nostdlib
core: 4 byte read to unmapped address 0x800000 at 0x800000
Program received signal SIGSEGV, Segmentation fault.
0x00800000 in ?? ()
(gdb) FAIL: gdb.base/nostdlib.exp: stop at run
continue
Continuing.
core: 4 byte read to unmapped address 0x800000 at 0x800000
Program received signal SIGSEGV, Segmentation fault.
0x00800000 in ?? ()
(gdb) FAIL: gdb.base/nostdlib.exp: continue to marker
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/nostdlib.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/opaque.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/opaque/opaque0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/opaque0.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/opaque/opaque0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/opaque0.c
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/opaque/opaque1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/opaque1.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/opaque/opaque1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/opaque1.c
--
(gdb) PASS: gdb.base/radix.exp: print 10; expect 12; output radix 8
print 100
$89 = 0144
(gdb) PASS: gdb.base/radix.exp: print 100; expect 144; output radix 8
print 20.
$90 = 20
(gdb) KFAIL: gdb.base/radix.exp: print 20.; expect 24; output radix 8 (PRMS: gdb/1715)
print (int) 20.
$91 = 024
(gdb) PASS: gdb.base/radix.exp: print (int) 20.; expect 24; output radix 8
set radix
Input and output radices now set to decimal 10, hex a, octal 12.
(gdb) PASS: gdb.base/radix.exp: initialize radix, output radix 10
--
(gdb) PASS: gdb.base/radix.exp: print 10; expect a; output radix 16
print 100
$101 = 0x64
(gdb) PASS: gdb.base/radix.exp: print 100; expect 64; output radix 16
print 20.
$102 = 20
(gdb) KFAIL: gdb.base/radix.exp: print 20.; expect 14; output radix 16 (PRMS: gdb/1715)
print (int) 20.
$103 = 0x14
(gdb) PASS: gdb.base/radix.exp: print (int) 20.; expect 14; output radix 16
set radix
Input and output radices now set to decimal 10, hex a, octal 12.
(gdb) PASS: gdb.base/radix.exp: Reset radices
--
Continuing.
Watchpoint 2 deleted because the program has left the block in
which its expression is valid.
0x0000240c in recurse (a=8380416) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/recurse.c:15
15 }
(gdb) FAIL: gdb.base/recurse.exp: first instance watchpoint deleted when leaving scope
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/recurse.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/relational.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/relational/relational0.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/relational/relational0.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/relational/relational0.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/relational/relational (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/relational/relational0.o -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/relational/relational
--
(gdb) set $test_fail_bpnum=$bpnum
(gdb) PASS: gdb.base/stale-infcall.exp: set $test_fail_bpnum=$bpnum
next
Breakpoint 3, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/stale-infcall.c:60
60 if (setjmp (jmp) == 0) /* test-fail */
(gdb) XFAIL: gdb.base/stale-infcall.exp: test system longjmp tracking support
UNTESTED: gdb.base/stale-infcall.exp: System lacks support for tracking longjmps
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/stale-infcall.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/stap-probe.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/stap-probe/stap-probe-nosem-noopt0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/stap-probe.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/stap-probe/stap-probe-nosem-noopt0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/stap-probe.c
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/stap-probe.c:39:21: fatal error: sys/sdt.h: No such file or directory
--
type = struct struct1 {
tc a;
}
(gdb) PASS: gdb.base/structs.exp: ptype foo1; structs-tc
p/c fun1()
$2 = {a = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 1 structs-tc
call Fun1(foo1)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 1 structs-tc
p/c L1
$3 = {a = 49 '1'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 1 structs-tc
p/c fun2()
$4 = {a = 1 '\001', b = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 2 structs-tc
call Fun2(foo2)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 2 structs-tc
p/c L2
$5 = {a = 97 'a', b = 50 '2'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc
p/c fun3()
$6 = {a = 0 '\000', b = 1 '\001', c = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 3 structs-tc
call Fun3(foo3)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 3 structs-tc
p/c L3
$7 = {a = 49 '1', b = 98 'b', c = 51 '3'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 3 structs-tc
p/c fun4()
$8 = {a = 0 '\000', b = 0 '\000', c = 1 '\001', d = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 4 structs-tc
call Fun4(foo4)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 4 structs-tc
p/c L4
$9 = {a = 97 'a', b = 50 '2', c = 99 'c', d = 52 '4'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 4 structs-tc
p/c fun5()
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:349
349 L1 = fun1();
Value returned is $39 = {a = -17 '\357'}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 1 structs-tc
p/c
$40 = {a = -17 '\357'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 1 structs-tc
PASS: gdb.base/structs.exp: return value known implies finish value known; return 1 structs-tc
advance fun2
fun2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:129
129 return foo2;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for return; return 2 structs-tc
p/c L2
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:350
350 L2 = fun2();
Value returned is $44 = {a = -33 '\337', b = -48 '\320'}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 2 structs-tc
p/c
$45 = {a = -33 '\337', b = -48 '\320'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 2 structs-tc
PASS: gdb.base/structs.exp: return value known implies finish value known; return 2 structs-tc
advance fun3
fun3 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:133
133 return foo3;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for return; return 3 structs-tc
p/c L3
--
351 L3 = fun3();
(gdb) next
352 L4 = fun4();
(gdb) PASS: gdb.base/structs.exp: return foo<n>; return 3 structs-tc
p/c L3
$47 = {a = 97 'a', b = 50 '2', c = 99 'c'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> returned; return 3 structs-tc
advance fun3
fun3 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:133
133 return foo3;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for finish; return 3 structs-tc
p/c L3
$48 = {a = 90 'Z', b = 90 'Z', c = 90 'Z'}
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:351
351 L3 = fun3();
Value returned is $49 = {a = 127 '\177', b = -33 '\337', c = -48 '\320'}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 3 structs-tc
p/c
$50 = {a = 127 '\177', b = -33 '\337', c = -48 '\320'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 3 structs-tc
PASS: gdb.base/structs.exp: return value known implies finish value known; return 3 structs-tc
advance fun4
fun4 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:137
137 return foo4;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for return; return 4 structs-tc
p/c L4
--
352 L4 = fun4();
(gdb) next
353 L5 = fun5();
(gdb) PASS: gdb.base/structs.exp: return foo<n>; return 4 structs-tc
p/c L4
$52 = {a = 49 '1', b = 98 'b', c = 51 '3', d = 52 '4'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> returned; return 4 structs-tc
advance fun4
fun4 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:137
137 return foo4;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for finish; return 4 structs-tc
p/c L4
$53 = {a = 90 'Z', b = 90 'Z', c = 90 'Z', d = 90 'Z'}
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:352
352 L4 = fun4();
Value returned is $54 = {a = 0 '\000', b = 127 '\177', c = -33 '\337', d = -48 '\320'}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 4 structs-tc
p/c
$55 = {a = 0 '\000', b = 127 '\177', c = -33 '\337', d = -48 '\320'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 4 structs-tc
PASS: gdb.base/structs.exp: return value known implies finish value known; return 4 structs-tc
advance fun5
fun5 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:141
141 return foo5;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for return; return 5 structs-tc
p/c L5
--
type = struct struct1 {
ts a;
}
(gdb) PASS: gdb.base/structs.exp: ptype foo1; structs-ts
p/c fun1()
$1 = {a = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 1 structs-ts
call Fun1(foo1)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 1 structs-ts
p/c L1
$2 = {a = 49 '1'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 1 structs-ts
p/c fun2()
$3 = {a = 0 '\000', b = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 2 structs-ts
call Fun2(foo2)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 2 structs-ts
p/c L2
$4 = {a = 97 'a', b = 50 '2'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 2 structs-ts
p/c fun3()
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:349
349 L1 = fun1();
Value returned is $14 = {a = -8210}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 1 structs-ts
p/c
$15 = {a = -18 '\356'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 1 structs-ts
PASS: gdb.base/structs.exp: return value known implies finish value known; return 1 structs-ts
advance fun2
fun2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:129
129 return foo2;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for return; return 2 structs-ts
p/c L2
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:350
350 L2 = fun2();
Value returned is $19 = {a = 127, b = -8272}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 2 structs-ts
p/c
$20 = {a = 127 '\177', b = -80 '\260'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 2 structs-ts
PASS: gdb.base/structs.exp: return value known implies finish value known; return 2 structs-ts
advance fun3
fun3 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:133
133 return foo3;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for return; return 3 structs-ts
p/c L3
--
type = struct struct1 {
ti a;
}
(gdb) PASS: gdb.base/structs.exp: ptype foo1; structs-ti
p/c fun1()
$1 = {a = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 1 structs-ti
call Fun1(foo1)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 1 structs-ti
p/c L1
$2 = {a = 49 '1'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 1 structs-ti
p/c fun2()
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:349
349 L1 = fun1();
Value returned is $10 = {a = 8380396}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 1 structs-ti
p/c
$11 = {a = -20 '\354'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 1 structs-ti
PASS: gdb.base/structs.exp: return value known implies finish value known; return 1 structs-ti
advance fun2
fun2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:129
129 return foo2;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for return; return 2 structs-ti
p/c L2
--
type = struct struct1 {
tl a;
}
(gdb) PASS: gdb.base/structs.exp: ptype foo1; structs-tl
p/c fun1()
$1 = {a = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 1 structs-tl
call Fun1(foo1)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 1 structs-tl
p/c L1
$2 = {a = 49 '1'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 1 structs-tl
p/c fun2()
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:349
349 L1 = fun1();
Value returned is $10 = {a = 8380396}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 1 structs-tl
p/c
$11 = {a = -20 '\354'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 1 structs-tl
PASS: gdb.base/structs.exp: return value known implies finish value known; return 1 structs-tl
advance fun2
fun2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:129
129 return foo2;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for return; return 2 structs-tl
p/c L2
--
type = struct struct1 {
tf a;
}
(gdb) PASS: gdb.base/structs.exp: ptype foo1; structs-tf
p/c fun1()
$1 = {a = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 1 structs-tf
call Fun1(foo1)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 1 structs-tf
p/c L1
$2 = {a = 49 '1'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 1 structs-tf
p/c fun2()
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:349
349 L1 = fun1();
Value returned is $10 = {a = 1.1743436e-38}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 1 structs-tf
p/c
$11 = {a = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 1 structs-tf
PASS: gdb.base/structs.exp: return value known implies finish value known; return 1 structs-tf
advance fun2
fun2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:129
129 return foo2;
(gdb) PASS: gdb.base/structs.exp: advance to fun<n> for return; return 2 structs-tf
p/c L2
--
ts a;
tc b;
}
(gdb) PASS: gdb.base/structs.exp: ptype foo2; structs-ts-tc
p/c fun2()
$1 = {a = 0 '\000', b = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 2 structs-ts-tc
call Fun2(foo2)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 2 structs-ts-tc
p/c L2
$2 = {a = 97 'a', b = 50 '2'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 2 structs-ts-tc
p/c fun3()
$3 = {a = 0 '\000', b = 0 '\000', c = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 3 structs-ts-tc
call Fun3(foo3)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 3 structs-ts-tc
p/c L3
$4 = {a = 49 '1', b = 98 'b', c = 51 '3'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 3 structs-ts-tc
p/c fun4()
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:350
350 L2 = fun2();
Value returned is $18 = {a = 127, b = -33 '\337'}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 2 structs-ts-tc
p/c
$19 = {a = 127 '\177', b = -33 '\337'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 2 structs-ts-tc
PASS: gdb.base/structs.exp: return value known implies finish value known; return 2 structs-ts-tc
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c -DtA=ti -DtB=tc -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/structs/structs-ti-tc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c -DtA=ti -DtB=tc -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/structs/structs-ti-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.
--
tc a;
ts b;
}
(gdb) PASS: gdb.base/structs.exp: ptype foo2; structs-tc-ts
p/c fun2()
$1 = {a = 0 '\000', b = 0 '\000'}
(gdb) FAIL: gdb.base/structs.exp: p/c fun<n>(); call 2 structs-tc-ts
call Fun2(foo2)
(gdb) PASS: gdb.base/structs.exp: call Fun<n>(foo<n>); call 2 structs-tc-ts
p/c L2
$2 = {a = 97 'a', b = 50 '2'}
(gdb) PASS: gdb.base/structs.exp: p/c L<n>; call 2 structs-tc-ts
p/c fun3()
--
main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c:350
350 L2 = fun2();
Value returned is $14 = {a = 0 '\000', b = -8272}
(gdb) PASS: gdb.base/structs.exp: finish foo<n>; return 2 structs-tc-ts
p/c
$15 = {a = 0 '\000', b = -80 '\260'}
(gdb) FAIL: gdb.base/structs.exp: value foo<n> finished; return 2 structs-tc-ts
PASS: gdb.base/structs.exp: return value known implies finish value known; return 2 structs-tc-ts
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c -DtA=tc -DtB=ti -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/structs/structs-tc-ti (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/structs.c -DtA=tc -DtB=ti -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/structs/structs-tc-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.
--
(gdb) PASS: gdb.base/vla-datatypes.exp: whatis ++int_vla[0]
print int_vla[0]
$32 = 42
(gdb) PASS: gdb.base/vla-datatypes.exp: print int_vla[0] - whatis no side effects
print inner_vla_struct_object_size == sizeof(inner_vla_struct_object)
$33 = 0
(gdb) XFAIL: gdb.base/vla-datatypes.exp: size of inner_vla_struct_object
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/vla-datatypes.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/vla-ptr.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/vla-ptr/vla-ptr0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/vla-ptr.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/vla-ptr/vla-ptr0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/vla-ptr.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/vla-ptr/vla-ptr0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/vla-ptr/vla-ptr (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/vla-ptr/vla-ptr0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.base/vla-ptr/vla-ptr
--
Continuing.
Watchpoint 2 deleted because the program has left the block in
which its expression is valid.
0x00002448 in func2 (foo=0x7fe000) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watch-cond.c:31
31 }
(gdb) FAIL: gdb.base/watch-cond.exp: watchpoint with local expression, local condition evaluates in correct frame
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"
--
$1 = 0x23b0
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: get PC
set breakpoint always-inserted off
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: set breakpoint always-inserted off
watch *(buf.byte + 0 + 0)@1
Watchpoint 4: *(buf.byte + 0 + 0)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 0: base + 0: watch *(buf.byte + 0 + 0)@1
stepi
0x000023b4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 0: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 0: base + 0: delete $bpnum
watch *(buf.byte + 0 + 1)@1
Watchpoint 5: *(buf.byte + 0 + 1)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 0: base + 1: watch *(buf.byte + 0 + 1)@1
stepi
0x000023b8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 0: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 0: base + 1: delete $bpnum
watch *(buf.byte + 1 + 0)@1
Watchpoint 6: *(buf.byte + 1 + 0)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 1: base + 0: watch *(buf.byte + 1 + 0)@1
stepi
0x000023cc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 1: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 1: base + 0: delete $bpnum
watch *(buf.byte + 1 + 1)@1
Watchpoint 7: *(buf.byte + 1 + 1)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 1: base + 1: watch *(buf.byte + 1 + 1)@1
stepi
0x000023d0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 1: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 1: base + 1: delete $bpnum
watch *(buf.byte + 2 + 0)@1
Watchpoint 8: *(buf.byte + 2 + 0)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 2: base + 0: watch *(buf.byte + 2 + 0)@1
stepi
0x000023d4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 2: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 2: base + 0: delete $bpnum
watch *(buf.byte + 2 + 1)@1
Watchpoint 9: *(buf.byte + 2 + 1)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 2: base + 1: watch *(buf.byte + 2 + 1)@1
stepi
0x000023d8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 2: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 2: base + 1: delete $bpnum
watch *(buf.byte + 3 + 0)@1
Watchpoint 10: *(buf.byte + 3 + 0)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 3: base + 0: watch *(buf.byte + 3 + 0)@1
stepi
0x000023dc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 3: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 3: base + 0: delete $bpnum
watch *(buf.byte + 3 + 1)@1
Watchpoint 11: *(buf.byte + 3 + 1)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 3: base + 1: watch *(buf.byte + 3 + 1)@1
stepi
0x000023c0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 3: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 1, iter 3: base + 1: delete $bpnum
watch *(buf.byte + 0 + 0)@2
Watchpoint 12: *(buf.byte + 0 + 0)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 0: base + 0: watch *(buf.byte + 0 + 0)@2
stepi
0x000023c4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 0: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 0: base + 0: delete $bpnum
watch *(buf.byte + 0 + 1)@2
Watchpoint 13: *(buf.byte + 0 + 1)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 0: base + 1: watch *(buf.byte + 0 + 1)@2
stepi
0x000023c8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 0: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 0: base + 1: delete $bpnum
watch *(buf.byte + 1 + 0)@2
Watchpoint 14: *(buf.byte + 1 + 0)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 1: base + 0: watch *(buf.byte + 1 + 0)@2
stepi
0x000023cc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 1: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 1: base + 0: delete $bpnum
watch *(buf.byte + 1 + 1)@2
Watchpoint 15: *(buf.byte + 1 + 1)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 1: base + 1: watch *(buf.byte + 1 + 1)@2
stepi
0x000023d0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 1: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 1: base + 1: delete $bpnum
watch *(buf.byte + 2 + 0)@2
Watchpoint 16: *(buf.byte + 2 + 0)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 2: base + 0: watch *(buf.byte + 2 + 0)@2
stepi
0x000023d4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 2: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 2: base + 0: delete $bpnum
watch *(buf.byte + 2 + 1)@2
Watchpoint 17: *(buf.byte + 2 + 1)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 2: base + 1: watch *(buf.byte + 2 + 1)@2
stepi
0x000023d8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 2: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 2: base + 1: delete $bpnum
watch *(buf.byte + 3 + 0)@2
Watchpoint 18: *(buf.byte + 3 + 0)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 3: base + 0: watch *(buf.byte + 3 + 0)@2
stepi
0x000023dc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 3: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 3: base + 0: delete $bpnum
watch *(buf.byte + 3 + 1)@2
Watchpoint 19: *(buf.byte + 3 + 1)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 3: base + 1: watch *(buf.byte + 3 + 1)@2
stepi
0x000023c0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 3: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 3: base + 1: delete $bpnum
watch *(buf.byte + 0 + 0)@3
Watchpoint 20: *(buf.byte + 0 + 0)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 0: base + 0: watch *(buf.byte + 0 + 0)@3
stepi
0x000023c4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 0: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 0: base + 0: delete $bpnum
watch *(buf.byte + 0 + 1)@3
Watchpoint 21: *(buf.byte + 0 + 1)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 0: base + 1: watch *(buf.byte + 0 + 1)@3
stepi
0x000023c8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 0: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 0: base + 1: delete $bpnum
watch *(buf.byte + 1 + 0)@3
Watchpoint 22: *(buf.byte + 1 + 0)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 1: base + 0: watch *(buf.byte + 1 + 0)@3
stepi
0x000023cc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 1: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 1: base + 0: delete $bpnum
watch *(buf.byte + 1 + 1)@3
Watchpoint 23: *(buf.byte + 1 + 1)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 1: base + 1: watch *(buf.byte + 1 + 1)@3
stepi
0x000023d0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 1: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 1: base + 1: delete $bpnum
watch *(buf.byte + 2 + 0)@3
Watchpoint 24: *(buf.byte + 2 + 0)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 2: base + 0: watch *(buf.byte + 2 + 0)@3
stepi
0x000023d4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 2: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 2: base + 0: delete $bpnum
watch *(buf.byte + 2 + 1)@3
Watchpoint 25: *(buf.byte + 2 + 1)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 2: base + 1: watch *(buf.byte + 2 + 1)@3
stepi
0x000023d8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 2: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 2: base + 1: delete $bpnum
watch *(buf.byte + 3 + 0)@3
Watchpoint 26: *(buf.byte + 3 + 0)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 3: base + 0: watch *(buf.byte + 3 + 0)@3
stepi
0x000023dc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 3: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 3: base + 0: delete $bpnum
watch *(buf.byte + 3 + 1)@3
Watchpoint 27: *(buf.byte + 3 + 1)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 3: base + 1: watch *(buf.byte + 3 + 1)@3
stepi
0x000023c0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 3: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 3, iter 3: base + 1: delete $bpnum
set breakpoint always-inserted on
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: set breakpoint always-inserted on
watch *(buf.byte + 0 + 0)@1
Watchpoint 28: *(buf.byte + 0 + 0)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 0: base + 0: watch *(buf.byte + 0 + 0)@1
stepi
0x000023c4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 0: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 0: base + 0: delete $bpnum
watch *(buf.byte + 0 + 1)@1
Watchpoint 29: *(buf.byte + 0 + 1)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 0: base + 1: watch *(buf.byte + 0 + 1)@1
stepi
0x000023c8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 0: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 0: base + 1: delete $bpnum
watch *(buf.byte + 1 + 0)@1
Watchpoint 30: *(buf.byte + 1 + 0)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 1: base + 0: watch *(buf.byte + 1 + 0)@1
stepi
0x000023cc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 1: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 1: base + 0: delete $bpnum
watch *(buf.byte + 1 + 1)@1
Watchpoint 31: *(buf.byte + 1 + 1)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 1: base + 1: watch *(buf.byte + 1 + 1)@1
stepi
0x000023d0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 1: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 1: base + 1: delete $bpnum
watch *(buf.byte + 2 + 0)@1
Watchpoint 32: *(buf.byte + 2 + 0)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 2: base + 0: watch *(buf.byte + 2 + 0)@1
stepi
0x000023d4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 2: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 2: base + 0: delete $bpnum
watch *(buf.byte + 2 + 1)@1
Watchpoint 33: *(buf.byte + 2 + 1)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 2: base + 1: watch *(buf.byte + 2 + 1)@1
stepi
0x000023d8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 2: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 2: base + 1: delete $bpnum
watch *(buf.byte + 3 + 0)@1
Watchpoint 34: *(buf.byte + 3 + 0)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 3: base + 0: watch *(buf.byte + 3 + 0)@1
stepi
0x000023dc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 3: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 3: base + 0: delete $bpnum
watch *(buf.byte + 3 + 1)@1
Watchpoint 35: *(buf.byte + 3 + 1)@1
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 3: base + 1: watch *(buf.byte + 3 + 1)@1
stepi
0x000023c0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 3: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 1, iter 3: base + 1: delete $bpnum
watch *(buf.byte + 0 + 0)@2
Watchpoint 36: *(buf.byte + 0 + 0)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 0: base + 0: watch *(buf.byte + 0 + 0)@2
stepi
0x000023c4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 0: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 0: base + 0: delete $bpnum
watch *(buf.byte + 0 + 1)@2
Watchpoint 37: *(buf.byte + 0 + 1)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 0: base + 1: watch *(buf.byte + 0 + 1)@2
stepi
0x000023c8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 0: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 0: base + 1: delete $bpnum
watch *(buf.byte + 1 + 0)@2
Watchpoint 38: *(buf.byte + 1 + 0)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 1: base + 0: watch *(buf.byte + 1 + 0)@2
stepi
0x000023cc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 1: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 1: base + 0: delete $bpnum
watch *(buf.byte + 1 + 1)@2
Watchpoint 39: *(buf.byte + 1 + 1)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 1: base + 1: watch *(buf.byte + 1 + 1)@2
stepi
0x000023d0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 1: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 1: base + 1: delete $bpnum
watch *(buf.byte + 2 + 0)@2
Watchpoint 40: *(buf.byte + 2 + 0)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 2: base + 0: watch *(buf.byte + 2 + 0)@2
stepi
0x000023d4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 2: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 2: base + 0: delete $bpnum
watch *(buf.byte + 2 + 1)@2
Watchpoint 41: *(buf.byte + 2 + 1)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 2: base + 1: watch *(buf.byte + 2 + 1)@2
stepi
0x000023d8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 2: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 2: base + 1: delete $bpnum
watch *(buf.byte + 3 + 0)@2
Watchpoint 42: *(buf.byte + 3 + 0)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 3: base + 0: watch *(buf.byte + 3 + 0)@2
stepi
0x000023dc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 3: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 3: base + 0: delete $bpnum
watch *(buf.byte + 3 + 1)@2
Watchpoint 43: *(buf.byte + 3 + 1)@2
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 3: base + 1: watch *(buf.byte + 3 + 1)@2
stepi
0x000023c0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 3: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 3: base + 1: delete $bpnum
watch *(buf.byte + 0 + 0)@3
Watchpoint 44: *(buf.byte + 0 + 0)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 0: base + 0: watch *(buf.byte + 0 + 0)@3
stepi
0x000023c4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 0: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 0: base + 0: delete $bpnum
watch *(buf.byte + 0 + 1)@3
Watchpoint 45: *(buf.byte + 0 + 1)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 0: base + 1: watch *(buf.byte + 0 + 1)@3
stepi
0x000023c8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 0: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 0: base + 1: delete $bpnum
watch *(buf.byte + 1 + 0)@3
Watchpoint 46: *(buf.byte + 1 + 0)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 1: base + 0: watch *(buf.byte + 1 + 0)@3
stepi
0x000023cc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 1: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 1: base + 0: delete $bpnum
watch *(buf.byte + 1 + 1)@3
Watchpoint 47: *(buf.byte + 1 + 1)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 1: base + 1: watch *(buf.byte + 1 + 1)@3
stepi
0x000023d0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 1: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 1: base + 1: delete $bpnum
watch *(buf.byte + 2 + 0)@3
Watchpoint 48: *(buf.byte + 2 + 0)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 2: base + 0: watch *(buf.byte + 2 + 0)@3
stepi
0x000023d4 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 2: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 2: base + 0: delete $bpnum
watch *(buf.byte + 2 + 1)@3
Watchpoint 49: *(buf.byte + 2 + 1)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 2: base + 1: watch *(buf.byte + 2 + 1)@3
stepi
0x000023d8 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 2: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 2: base + 1: delete $bpnum
watch *(buf.byte + 3 + 0)@3
Watchpoint 50: *(buf.byte + 3 + 0)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 3: base + 0: watch *(buf.byte + 3 + 0)@3
stepi
0x000023dc 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 3: base + 0: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 3: base + 0: delete $bpnum
watch *(buf.byte + 3 + 1)@3
Watchpoint 51: *(buf.byte + 3 + 1)@3
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 3: base + 1: watch *(buf.byte + 3 + 1)@3
stepi
0x000023c0 34 for (i = 0; i < 100000; i++); /* stepi line */
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 3: base + 1: stepi advanced
delete $bpnum
(gdb) PASS: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 3, iter 3: base + 1: delete $bpnum
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp completed in 0 seconds
--
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) set can-use-hw-watchpoints 1
(gdb) PASS: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted off: set can-use-hw-watchpoints 1
watch global
Watchpoint 3: global
(gdb) FAIL: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted off: set hardware watchpoint on global variable
continue
Continuing.
Watchpoint 3: global
Old value = 1
New value = 2
set_global (val=2) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.c:24
24 }
(gdb) FAIL: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted off: hardware watchpoint triggers
p /x $pc
$2 = 0x23bc
(gdb) PASS: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted off: get hw watchpoint PC
PASS: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted off: hw watchpoint stops at right instruction
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
--
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) set can-use-hw-watchpoints 1
(gdb) PASS: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted on: set can-use-hw-watchpoints 1
watch global
Watchpoint 3: global
(gdb) FAIL: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted on: set hardware watchpoint on global variable
continue
Continuing.
Watchpoint 3: global
Old value = 1
New value = 2
set_global (val=2) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.c:24
24 }
(gdb) FAIL: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted on: hardware watchpoint triggers
p /x $pc
$2 = 0x23bc
(gdb) PASS: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted on: get hw watchpoint PC
PASS: gdb.base/watchpoint-stops-at-right-insn.exp: always-inserted on: hw watchpoint stops at right instruction
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint.exp ...
--
Breakpoint 28, func6 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint.c:160
160 foo2.val[1] = 0;
(gdb) PASS: gdb.base/watchpoint.exp: continue to breakpoint: func6 breakpoint here
watch foo2
Watchpoint 29: foo2
(gdb) FAIL: gdb.base/watchpoint.exp: watch foo2
continue
Continuing.
Watchpoint 29: foo2
Old value = {val = {0, 0}}
New value = {val = {0, 11}}
func6 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint.c:162
162 }
(gdb) FAIL: gdb.base/watchpoint.exp: continue with watch foo2
delete $bpnum
(gdb) PASS: gdb.base/watchpoint.exp: delete watch foo2
break 167
Breakpoint 30 at 0x26b8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint.c, line 167.
(gdb) continue
Continuing.
Breakpoint 30, func7 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint.c:168
168 foo4.val[3] = 0;
(gdb) PASS: gdb.base/watchpoint.exp: continue to breakpoint: func7 breakpoint here
watch foo4
Watchpoint 31: foo4
(gdb) FAIL: gdb.base/watchpoint.exp: watch foo4
continue
Continuing.
Watchpoint 31: foo4
Old value = {val = {0, 0, 0, 0}}
New value = {val = {0, 0, 0, 33}}
func7 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.base/watchpoint.c:170
170 }
(gdb) FAIL: gdb.base/watchpoint.exp: continue with watch foo4
delete $bpnum
(gdb) PASS: gdb.base/watchpoint.exp: delete watch foo4
rwatch $pc
Expression cannot be implemented with read/access watchpoint.
(gdb) PASS: gdb.base/watchpoint.exp: rwatch disallowed for register based expression
awatch $pc
--
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(q(A const&)) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) FAIL: gdb.cp/chained-calls.exp: q(p())
p p() + r()
$2 = {a = 8371172}
(gdb) FAIL: gdb.cp/chained-calls.exp: p() + r()
p q(p() + r())
core: 4 byte misaligned read to address 0x162e at 0x25f0
Program received signal SIGBUS, Bus error.
0x000025f0 in q (a=...) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/chained-calls.cc:96
96 return a;
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(q(A const&)) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) FAIL: gdb.cp/chained-calls.exp: q(p() + r())
p g(f(6700) + f(89))
$3 = 6789
(gdb) PASS: gdb.cp/chained-calls.exp: g(f() + f())
p g(f(g(f(300) + f(40))) + f(5))
$4 = 345
(gdb) PASS: gdb.cp/chained-calls.exp: g(f(g(f() + f())) + f())
p getb(makeb(), 789)
$5 = 789
(gdb) PASS: gdb.cp/chained-calls.exp: getb(makeb(), ...)
p *c
No symbol "c" in current context.
(gdb) FAIL: gdb.cp/chained-calls.exp: *c
p *c + *c
No symbol "c" in current context.
(gdb) FAIL: gdb.cp/chained-calls.exp: *c + *c
P q(*c + *c)
No symbol "c" in current context.
(gdb) FAIL: gdb.cp/chained-calls.exp: q(*c + *c)
p make_int().get_type ()
$6 = INT
(gdb) PASS: gdb.cp/chained-calls.exp: make_int().get_type ()
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/chained-calls.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/class2.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/class2/class20.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/class2.cc (timeout = 300)
--
$36 = 200
(gdb) PASS: gdb.cp/classes.exp: print *$
set print static-members off
(gdb) PASS: gdb.cp/classes.exp: set print static-members off
print csi
$37 = {x = 0, y = 0}
(gdb) FAIL: gdb.cp/classes.exp: print csi without static members
print cnsi
$38 = {x = 0, y = 0}
(gdb) FAIL: gdb.cp/classes.exp: print cnsi without static members
set print static-members on
(gdb) PASS: gdb.cp/classes.exp: set print static-members on
print csi
$39 = {x = 0, y = 0, static null = {x = 0, y = 0, static null = <same as static member of an already seen type>}}
(gdb) FAIL: gdb.cp/classes.exp: print csi with static members
print cnsi
$40 = {x = 0, y = 0, static null = {x = 0, y = 0, static null = <same as static member of an already seen type>, static yy = {z = 0, static xx = {x = 0, y = 0, static null = <same as static member of an already seen type>, static yy = <same as static member of an already seen type>}}}, static yy = <same as static member of an already seen type>}
(gdb) FAIL: gdb.cp/classes.exp: print cnsi with static members
break marker_reg1
Breakpoint 4 at 0x2ab8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/classes.cc, line 548.
(gdb) continue
Continuing.
Breakpoint 4, marker_reg1 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/classes.cc:548
--
(gdb) PASS: gdb.cp/demangle.exp: lucid: __vtbl__3ios
demangle __vtbl__3ios__13strstreambase
strstreambase::ios virtual table
(gdb) PASS: gdb.cp/demangle.exp: lucid: __vtbl__3ios__13strstreambase
demangle __vtbl__3foo__vt_cc_main_
Can't demangle "__vtbl__3foo__vt_cc_main_"
(gdb) KFAIL: gdb.cp/demangle.exp: lucid: __vtbl__3foo__vt_cc_main_ (PRMS: gdb/945)
demangle abs__F7complex
abs(complex)
(gdb) PASS: gdb.cp/demangle.exp: lucid: abs__F7complex
demangle allocate__9streambufFv
streambuf::allocate(void)
(gdb) PASS: gdb.cp/demangle.exp: lucid: allocate__9streambufFv
--
$1 = 11
(gdb) PASS: gdb.cp/fpointer.exp: p p1()
p p2()
$2 = 12
(gdb) PASS: gdb.cp/fpointer.exp: p p2()
p p[0]()
FAIL: gdb.cp/fpointer.exp: p p[0]() (timeout)
p p[1]()
FAIL: gdb.cp/fpointer.exp: p p[1]() (timeout)
p p3('a')
FAIL: gdb.cp/fpointer.exp: p p3('a') (timeout)
p p4(1)
FAIL: gdb.cp/fpointer.exp: p p4(1) (timeout)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/fpointer.exp completed in 45 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/gdb1355.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/gdb1355/gdb13550.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/gdb1355.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/gdb1355/gdb13550.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/gdb1355.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/gdb1355/gdb13550.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/gdb1355/gdb1355 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/gdb1355/gdb13550.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/gdb1355/gdb1355
--
(gdb) PASS: gdb.cp/inherit.exp: print g_vA.va
print g_vA.vx
$55 = 2
(gdb) PASS: gdb.cp/inherit.exp: print g_vA.vx
print g_vB.vA::va
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vB.vA::va
print g_vB.vA::vx
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vB.vA::vx
print g_vB.vB::vb
$56 = 5
(gdb) PASS: gdb.cp/inherit.exp: print g_vB.vB::vb
print g_vB.vB::vx
$57 = 6
(gdb) PASS: gdb.cp/inherit.exp: print g_vB.vB::vx
print g_vB.va
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vB.va
print g_vB.vb
$58 = 5
(gdb) PASS: gdb.cp/inherit.exp: print g_vB.vb
print g_vB.vx
$59 = 6
(gdb) PASS: gdb.cp/inherit.exp: print g_vB.vx
print g_vC.vA::va
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vC.vA::va
print g_vC.vA::vx
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vC.vA::vx
print g_vC.vC::vc
$60 = 9
(gdb) PASS: gdb.cp/inherit.exp: print g_vC.vC::vc
print g_vC.vC::vx
$61 = 10
(gdb) PASS: gdb.cp/inherit.exp: print g_vC.vC::vx
print g_vC.va
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vC.va
print g_vC.vc
$62 = 9
(gdb) PASS: gdb.cp/inherit.exp: print g_vC.vc
print g_vC.vx
$63 = 10
(gdb) PASS: gdb.cp/inherit.exp: print g_vC.vx
print g_vA
$64 = {va = 1, vx = 2}
(gdb) PASS: gdb.cp/inherit.exp: print g_vA
print g_vB
$65 = {<vA> = <invalid address>, _vptr.vB = 0x0, vb = 5, vx = 6}
(gdb) FAIL: gdb.cp/inherit.exp: print g_vB
print g_vC
$66 = {<vA> = <invalid address>, _vptr.vC = 0x0, vc = 9, vx = 10}
(gdb) FAIL: gdb.cp/inherit.exp: print g_vC
print g_vD.vA::va
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vD.vA::va
print g_vD.vA::vx
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vD.vA::vx
print g_vD.vB::vb
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vD.vB::vb
print g_vD.vB::vx
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vD.vB::vx
print g_vD.vC::vc
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vD.vC::vc
print g_vD.vC::vx
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vD.vC::vx
print g_vD.vD::vd
$67 = 25
(gdb) PASS: gdb.cp/inherit.exp: print g_vD.vD::vd
print g_vD.vD::vx
$68 = 26
(gdb) PASS: gdb.cp/inherit.exp: print g_vD.vD::vx
print g_vE.vA::va
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vE.vA::va
print g_vE.vA::vx
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vE.vA::vx
print g_vE.vB::vb
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vE.vB::vb
print g_vE.vB::vx
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vE.vB::vx
print g_vE.vC::vc
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vE.vC::vc
print g_vE.vC::vx
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vE.vC::vx
print g_vE.vD::vd
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vE.vD::vd
print g_vE.vD::vx
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/inherit.exp: print g_vE.vD::vx
print g_vE.vE::ve
$69 = 27
(gdb) PASS: gdb.cp/inherit.exp: print g_vE.vE::ve
print g_vE.vE::vx
$70 = 28
(gdb) PASS: gdb.cp/inherit.exp: print g_vE.vE::vx
print g_vD
$71 = {<vB> = <invalid address>, <vC> = <invalid address>, _vptr.vD = 0x0, vd = 25, vx = 26}
(gdb) FAIL: gdb.cp/inherit.exp: print g_vD
print g_vE
$72 = {<vD> = <invalid address>, _vptr.vE = 0x0, ve = 27, vx = 28}
(gdb) FAIL: gdb.cp/inherit.exp: print g_vE
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/inherit.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/iostream.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/iostream/iostream0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/iostream.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/iostream/iostream0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/iostream.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/iostream/iostream0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/iostream/iostream (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/iostream/iostream0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/iostream/iostream
--
(gdb) PASS: gdb.cp/koenig.exp: p foo(js)
p foo(je)
$15 = 10
(gdb) PASS: gdb.cp/koenig.exp: p foo(je)
p foo(jab)
Cannot resolve function foo to any overloaded instance
(gdb) XFAIL: gdb.cp/koenig.exp: p foo(jab)
p foo(jap)
$16 = 12
(gdb) PASS: gdb.cp/koenig.exp: p foo(jap)
p foo(japp)
$17 = 13
(gdb) PASS: gdb.cp/koenig.exp: p foo(japp)
--
(gdb) PASS: gdb.cp/koenig.exp: p foo(ko,1)
p foo(ko,1.0f)
$20 = 16
(gdb) PASS: gdb.cp/koenig.exp: p foo(ko,1.0f)
p bar(ko,1)
$21 = 16
(gdb) XFAIL: gdb.cp/koenig.exp: p bar(ko,1)
p foo(labo)
$22 = 17
(gdb) PASS: gdb.cp/koenig.exp: p foo(labo)
p ma.foo('a')
$23 = 18
(gdb) PASS: gdb.cp/koenig.exp: p ma.foo('a')
--
(gdb) PASS: gdb.cp/local.exp: ptype InnerLocal (pattern 1)
ptype NestedInnerLocal
No symbol "NestedInnerLocal" in current context.
(gdb) PASS: gdb.cp/local.exp: ptype NestedInnerLocal
ptype InnerLocal::NestedInnerLocal
There is no field named NestedInnerLocal
(gdb) KFAIL: gdb.cp/local.exp: ptype InnerLocal::NestedInnerLocal (PRMS: gdb/482)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/local.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/m-data.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/m-data/m-data0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/m-data.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/m-data/m-data0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/m-data.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/m-data/m-data0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/m-data/m-data (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/m-data/m-data0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/m-data/m-data
--
(gdb) PASS: gdb.cp/m-static.exp: derived template object, base static enum
print test2.value_derived
$13 = etruscan
(gdb) PASS: gdb.cp/m-static.exp: derived template object, static enum
print test3.data.test
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/m-static.exp: template object, static const bool
print test3.data.key1
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/m-static.exp: template object, static const int
print test3.data.key2
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/m-static.exp: template object, static long
print test3.data.value
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/m-static.exp: template object, static enum
print test3.data.value_derived
$14 = etruscan
(gdb) PASS: gdb.cp/m-static.exp: template object, static derived enum
print test4.elsewhere
$15 = 221
(gdb) PASS: gdb.cp/m-static.exp: static const int initialized elsewhere
--
Start address 0x0
Transfer rate: 1152 bits in <1 sec.
(gdb) set breakpoint pending off
(gdb) PASS: gdb.cp/no-dmgl-verbose.exp: set breakpoint pending off
break 'f(std::string)'
Function "f(std::string)" not defined.
(gdb) FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
break 'f(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
Function "f(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)" not defined.
(gdb) PASS: gdb.cp/no-dmgl-verbose.exp: DMGL_VERBOSE-demangled f(std::string) is not defined
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/no-dmgl-verbose.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/non-trivial-retval.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/non-trivial-retval/non-trivial-retval0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/non-trivial-retval.cc (timeout = 300)
--
Breakpoint 2, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/oranking.cc:206
206 return 0; // end of main
(gdb) PASS: gdb.cp/oranking.exp: continue to breakpoint: end of main
p foo0(b)
Cannot resolve function foo0 to any overloaded instance
(gdb) KFAIL: gdb.cp/oranking.exp: p foo0(b) (PRMS: gdb/12096)
p test1()
$1 = 12
(gdb) PASS: gdb.cp/oranking.exp: p test1()
p foo1(b)
$2 = 12
(gdb) PASS: gdb.cp/oranking.exp: p foo1(b)
p test2()
$3 = 13
(gdb) PASS: gdb.cp/oranking.exp: p test2()
p foo2(b)
Cannot resolve function foo2 to any overloaded instance
(gdb) KFAIL: gdb.cp/oranking.exp: p foo2(b) (PRMS: gdb/12098)
p test3()
$4 = 21
(gdb) PASS: gdb.cp/oranking.exp: p test3()
p foo3(1.0f)
$5 = 21
(gdb) PASS: gdb.cp/oranking.exp: p foo3(1.0f)
p test4()
$6 = 24
(gdb) PASS: gdb.cp/oranking.exp: p test4()
p foo4(&a)
$7 = 23
(gdb) KFAIL: gdb.cp/oranking.exp: p foo4(&a) (PRMS: gdb/12098)
p test5()
$8 = 26
(gdb) PASS: gdb.cp/oranking.exp: p test5()
p foo5(c)
$9 = 26
(gdb) PASS: gdb.cp/oranking.exp: p foo5(c)
--
(gdb) PASS: gdb.cp/oranking.exp: p foo9(co)
p test10()
$18 = 216
(gdb) PASS: gdb.cp/oranking.exp: p test10()
p foo10(amp)
Cannot resolve function foo10 to any overloaded instance
(gdb) KFAIL: gdb.cp/oranking.exp: p foo10(amp) (PRMS: gdb/12098)
p test101()
$19 = 218
(gdb) PASS: gdb.cp/oranking.exp: p test101()
p foo101("abc")
evaluation of this expression requires the program to have a function "malloc".
(gdb) KFAIL: gdb.cp/oranking.exp: p foo101("abc") (PRMS: gdb/12098)
p test11()
$20 = 32
(gdb) PASS: gdb.cp/oranking.exp: p test11()
p foo11(d)
Cannot resolve function foo11 to any overloaded instance
(gdb) KFAIL: gdb.cp/oranking.exp: p foo11(d) (PRMS: gdb/12096)
p test12()
$21 = 42
(gdb) PASS: gdb.cp/oranking.exp: p test12()
p foo12(1)
$22 = 42
(gdb) PASS: gdb.cp/oranking.exp: p foo12(1)
p test13()
$23 = 44
(gdb) PASS: gdb.cp/oranking.exp: p test13()
p foo13(c)
No symbol "foo13" in current context.
(gdb) KFAIL: gdb.cp/oranking.exp: p foo13(c) (PRMS: gdb/12098)
p test14()
$24 = 46
(gdb) PASS: gdb.cp/oranking.exp: p test14()
p foo14(e)
Cannot resolve function foo14 to any overloaded instance
(gdb) KFAIL: gdb.cp/oranking.exp: p foo14(e) (PRMS: gdb/12096)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/oranking.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/overload-const.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/overload-const/overload-const0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/overload-const.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/overload-const/overload-const0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/overload-const.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/overload-const/overload-const0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/overload-const/overload-const (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/overload-const/overload-const0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/overload-const/overload-const
--
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/pass-by-ref/pass-by-ref
Breakpoint 1, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/pass-by-ref.cc:75
75 int bar = foo (global_obj);
(gdb) print foo (global_obj)
$1 = 0
(gdb) FAIL: gdb.cp/pass-by-ref.exp: call function in obj
print blap (global_derived)
$2 = 0
(gdb) FAIL: gdb.cp/pass-by-ref.exp: call function in derived
print blip (global_container)
$3 = 0
(gdb) FAIL: gdb.cp/pass-by-ref.exp: call function in container
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/pass-by-ref.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/pr-1023.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/pr-1023/pr-10230.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/pr-1023.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/pr-1023/pr-10230.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/pr-1023.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/pr-1023/pr-10230.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/pr-1023/pr-1023 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/pr-1023/pr-10230.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/pr-1023/pr-1023
--
(gdb) PASS: gdb.cp/smartp.exp: p c->foo()
p c->inta
$16 = 77
(gdb) PASS: gdb.cp/smartp.exp: p c->inta
p c2->inta
$17 = 8380348
(gdb) FAIL: gdb.cp/smartp.exp: p c2->inta
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/smartp.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/static-method.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/static-method/static-method0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/static-method.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/static-method/static-method0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/static-method.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/static-method/static-method0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/static-method/static-method (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/static-method/static-method0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/static-method/static-method
--
(gdb) PASS: gdb.cp/temargs.exp: continue to breakpoint: continue to fifth breakpoint for temargs
ptype F
type = void (S::*)(S * const)
(gdb) PASS: gdb.cp/temargs.exp: test type of F in k2_m
print F
$13 = <optimized out>
(gdb) XFAIL: gdb.cp/temargs.exp: test value of F in k2_m (PRMS gcc/49366)
continue
Continuing.
Breakpoint 7, K3<&S3::m>::k3_m (this=0x7fdff4) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/temargs.cc:79
79 F (0); // Breakpoint 6.
(gdb) PASS: gdb.cp/temargs.exp: continue to breakpoint: continue to sixth breakpoint for temargs
ptype F
No symbol "F" in current context.
(gdb) XFAIL: gdb.cp/temargs.exp: test type of F in k3_m (PRMS gcc/49546)
print F
No symbol "F" in current context.
(gdb) XFAIL: gdb.cp/temargs.exp: test value of F in k3_m (PRMS gcc/49546)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/temargs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/templates.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/templates/templates0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/templates.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/templates/templates0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/templates.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/templates/templates0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/templates/templates (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/templates/templates0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/templates/templates
--
T5(const T5<int> &);
~T5(int);
static void * operator new(size_t);
static void operator delete(void *);
int value(void);
}
(gdb) KFAIL: gdb.cp/templates.exp: ptype T5<int> (PRMS: gdb/8218)
ptype/r t5i
type = class T5<int> {
public:
static int X;
int x;
int val;
--
T5(const T5<int> &);
~T5(int);
static void * operator new(size_t);
static void operator delete(void *);
int value(void);
}
(gdb) KFAIL: gdb.cp/templates.exp: ptype T5<int> (PRMS: gdb/8218)
break T5<int>::T5
[0] cancel
[1] all
[2] /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/templates.cc:T5<int>::T5(T5<int> const&)
[3] /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/templates.cc:T5<int>::T5(int)
> 0
--
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/templates/templates
Breakpoint 4, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/templates.cc:738
738 i = i + 1;
(gdb) print t5i.value()
$3 = 0
(gdb) FAIL: gdb.cp/templates.exp: print t5i.value()
b 770
Breakpoint 5 at 0x44e8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/templates.cc, line 770.
(gdb) PASS: gdb.cp/templates.exp: b 770
c
Continuing.
--
public:
int x;
volatile char *t;
volatile char * foo(int, volatile char *);
}
(gdb) KFAIL: gdb.cp/templates.exp: ptype fvpchar (PRMS: gdb/1512)
print Foo<volatile char *>::foo
$6 = {volatile char *(Foo<char volatile*> * const, int, volatile char *)} 0x4e44 <Foo<char volatile*>::foo(int, char volatile*)>
(gdb) PASS: gdb.cp/templates.exp: print Foo<volatile char *>::foo
print Foo<volatile char*>::foo
$7 = {volatile char *(Foo<char volatile*> * const, int, volatile char *)} 0x4e44 <Foo<char volatile*>::foo(int, char volatile*)>
(gdb) PASS: gdb.cp/templates.exp: print Foo<volatile char*>::foo
--
(gdb) PASS: gdb.cp/typeid.exp: after starting: print &typeid(b)
print &typeid(b) == &typeid(typeof(b))
$20 = true
(gdb) PASS: gdb.cp/typeid.exp: after starting: print &typeid(b) == &typeid(typeof(b))
print &typeid(*b)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(*b)
print &typeid(*b) == &typeid(d)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(*b) == &typeid(d)
print &typeid(*vb1)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(*vb1)
print &typeid(*vb1) == &typeid(d)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(*vb1) == &typeid(d)
print &typeid(*vb2)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(*vb2)
print &typeid(*vb2) == &typeid(d)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(*vb2) == &typeid(d)
print &typeid(*bv)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(*bv)
print &typeid(*bv) == &typeid(d)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(*bv) == &typeid(d)
print &typeid(d)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(d)
print &typeid(d) == &typeid(d)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(d) == &typeid(d)
print &typeid(const Derived)
$21 = (std::type_info *) 0x6b90 <typeinfo for Derived>
(gdb) PASS: gdb.cp/typeid.exp: after starting: print &typeid(const Derived)
print &typeid(const Derived) == &typeid(d)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(const Derived) == &typeid(d)
print &typeid(const Derived &)
$22 = (std::type_info *) 0x6b90 <typeinfo for Derived>
(gdb) PASS: gdb.cp/typeid.exp: after starting: print &typeid(const Derived &)
print &typeid(const Derived &) == &typeid(d)
Cannot access memory at address 0xfffffffc
(gdb) FAIL: gdb.cp/typeid.exp: after starting: print &typeid(const Derived &) == &typeid(d)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/typeid.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/userdef.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/userdef/userdef0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/userdef.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/userdef/userdef0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/userdef.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/userdef/userdef0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/userdef/userdef (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/userdef/userdef0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/userdef/userdef
--
}
(gdb) PASS: gdb.cp/var-tag.exp: in C::f: c: ptype U2
set language c++
(gdb) PASS: gdb.cp/var-tag.exp: global collision: set language c++
print global
$61 = {void (const C * const)} 0x24a0 <C::global() const>
(gdb) KFAIL: gdb.cp/var-tag.exp: global collision: print global (PRMS: c++/16463)
print ::global
$62 = 3
(gdb) PASS: gdb.cp/var-tag.exp: global collision: print ::global
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/var-tag.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtbase.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtbase/virtbase0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtbase.cc (timeout = 300)
--
(gdb) PASS: gdb.cp/virtbase.exp: print/x b->mA
print rtti_data
$6 = {base = {_vptr.RTTI_base = 0x28790 <vtable for RTTI_base+8>}, data = 1}
(gdb) PASS: gdb.cp/virtbase.exp: print rtti_data
print virtual_middle_b
$7 = (VirtualMiddleB *) 0x2f720 <virtual_o+1220>
(gdb) FAIL: gdb.cp/virtbase.exp: print pointer to virtual base at non-zero offset of larger object
print $
$8 = (VirtualMiddleB *) 0x2f720 <virtual_o+1220>
(gdb) FAIL: gdb.cp/virtbase.exp: print same pointer from history value
print *$$
$9 = {<VirtualBase> = <invalid address>, _vptr.VirtualMiddleB = 0x0, y = 0}
(gdb) FAIL: gdb.cp/virtbase.exp: print whole pointed-to object, starting from the virtual base pointer
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtbase.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtfunc.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc/virtfunc0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtfunc.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc/virtfunc0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtfunc.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc/virtfunc0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc/virtfunc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc/virtfunc0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc/virtfunc
--
int fvb(void);
virtual int vvb(void);
} *
(gdb) PASS: gdb.cp/virtfunc.exp: ptype pVB
info vtbl a
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/virtfunc.exp: info vtbl a
info vtbl b
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/virtfunc.exp: info vtbl b
info vtbl c
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/virtfunc.exp: info vtbl c
info vtbl d
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/virtfunc.exp: info vtbl d
info vtbl e
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/virtfunc.exp: info vtbl e
info vtbl pEe
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/virtfunc.exp: info vtbl pEe
info vtbl
Argument required (expression to compute).
(gdb) PASS: gdb.cp/virtfunc.exp: info vtbl
info vtbl va
This object does not have a virtual function table
(gdb) PASS: gdb.cp/virtfunc.exp: info vtbl va
--
Continuing.
Breakpoint 2, test_calls () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtfunc.cc:164
164 TEST(pAe->f(), 20);
(gdb) print pAe->f()
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/virtfunc.exp: print pAe->f()
print pAa->f()
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/virtfunc.exp: print pAa->f()
print pDe->vg()
Cannot access memory at address 0xfffffff4
(gdb) FAIL: gdb.cp/virtfunc.exp: print pDe->vg()
print pADe->vg()
FAIL: gdb.cp/virtfunc.exp: print pADe->vg() (timeout)
print pDd->vg()
FAIL: gdb.cp/virtfunc.exp: print pDd->vg() (timeout)
print pEe->vvb()
FAIL: gdb.cp/virtfunc.exp: print pEe->vvb() (timeout)
print pVB->vvb()
FAIL: gdb.cp/virtfunc.exp: print pVB->vvb() (timeout)
print pBe->vvb()
FAIL: gdb.cp/virtfunc.exp: print pBe->vvb() (timeout)
print pDe->vvb()
FAIL: gdb.cp/virtfunc.exp: print pDe->vvb() (timeout)
print pEe->vd()
FAIL: gdb.cp/virtfunc.exp: print pEe->vd() (timeout)
print pEe->fvb()
FAIL: gdb.cp/virtfunc.exp: print pEe->fvb() (timeout)
print pEe->D::vg()
FAIL: gdb.cp/virtfunc.exp: print pEe->D::vg() (timeout)
next
FAIL: gdb.cp/virtfunc.exp: next to pAa->f call (timeout)
next
FAIL: gdb.cp/virtfunc.exp: next to pDe->vg call (timeout)
step
FAIL: gdb.cp/virtfunc.exp: step through thunk into E::vg (timeout)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtfunc.exp completed in 120 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtfunc2.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc2/virtfunc20.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtfunc2.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc2/virtfunc20.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/virtfunc2.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc2/virtfunc20.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc2/virtfunc2 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc2/virtfunc20.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.cp/virtfunc2/virtfunc2
--
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/bad-regnum/bad-regnum
Breakpoint 1, 0x0000239c in main ()
(gdb) info addr foo1
Symbol "foo1" is a variable in $(null).
(gdb) FAIL: gdb.dwarf2/bad-regnum.exp: info addr foo1
info addr foo2
Symbol "foo2" is a variable in $bad_register_number.
(gdb) PASS: gdb.dwarf2/bad-regnum.exp: info addr foo2
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/bad-regnum.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/callframecfa.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/callframecfa.exp completed in 0 seconds
--
(gdb) break compdir_missing__ldir_missing__file_basename
Breakpoint 2 at 0x23e0: file tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 2, compdir_missing__ldir_missing__file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_basename: continue to breakpoint: compdir_missing__ldir_missing__file_basename
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_basename: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_missing__file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_basename: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_basename: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_missing__file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_basename: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_basename: set filename-display relative
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_missing__file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_basename: relative
set directories
(gdb) break compdir_missing__ldir_missing__file_relative
Breakpoint 3 at 0x2420: file fdir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 3, compdir_missing__ldir_missing__file_relative () at fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_relative: continue to breakpoint: compdir_missing__ldir_missing__file_relative
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_relative: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_missing__file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_relative: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_relative: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_missing__file_relative () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_relative: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_relative: set filename-display relative
expect: fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_missing__file_relative () at fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_relative: relative
set directories
(gdb) break compdir_missing__ldir_missing__file_absolute
Breakpoint 4 at 0x2460: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 4, compdir_missing__ldir_missing__file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_absolute: continue to breakpoint: compdir_missing__ldir_missing__file_absolute
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_absolute: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_missing__file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_absolute: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_absolute: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_missing__file_absolute () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_absolute: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_absolute: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_missing__file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_missing__file_absolute: relative
set directories
(gdb) break compdir_missing__ldir_relative_file_basename
Breakpoint 5 at 0x24a0: file ldir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 5, compdir_missing__ldir_relative_file_basename () at ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_basename: continue to breakpoint: compdir_missing__ldir_relative_file_basename
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_basename: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_relative_file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_basename: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_basename: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_relative_file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_basename: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_basename: set filename-display relative
expect: ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_relative_file_basename () at ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_basename: relative
set directories
(gdb) break compdir_missing__ldir_relative_file_relative
Breakpoint 6 at 0x24e0: file ldir/fdir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 6, compdir_missing__ldir_relative_file_relative () at ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_relative: continue to breakpoint: compdir_missing__ldir_relative_file_relative
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_relative: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_relative_file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_relative: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_relative: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_relative_file_relative () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_relative: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_relative: set filename-display relative
expect: ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_relative_file_relative () at ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_relative: relative
set directories
(gdb) break compdir_missing__ldir_relative_file_absolute
Breakpoint 7 at 0x2520: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 7, compdir_missing__ldir_relative_file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_absolute: continue to breakpoint: compdir_missing__ldir_relative_file_absolute
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_absolute: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_relative_file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_absolute: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_absolute: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_relative_file_absolute () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_absolute: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_absolute: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_relative_file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_relative_file_absolute: relative
set directories
(gdb) break compdir_missing__ldir_absolute_file_basename
Breakpoint 8 at 0x2560: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 8, compdir_missing__ldir_absolute_file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_basename: continue to breakpoint: compdir_missing__ldir_absolute_file_basename
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_basename: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_basename: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_basename: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_basename: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_basename: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_basename: relative
set directories
(gdb) break compdir_missing__ldir_absolute_file_relative
Breakpoint 9 at 0x25a0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 9, compdir_missing__ldir_absolute_file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_relative: continue to breakpoint: compdir_missing__ldir_absolute_file_relative
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_relative: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_relative: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_relative: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_relative () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_relative: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_relative: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_relative: relative
set directories
(gdb) break compdir_missing__ldir_absolute_file_absolute_same
Breakpoint 10 at 0x25e0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 10, compdir_missing__ldir_absolute_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_same: continue to breakpoint: compdir_missing__ldir_absolute_file_absolute_same
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_same: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_same: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_same: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_absolute_same () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_same: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_same: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_same: relative
set directories
(gdb) break compdir_missing__ldir_absolute_file_absolute_different
Breakpoint 11 at 0x2620: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 11, compdir_missing__ldir_absolute_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_different: continue to breakpoint: compdir_missing__ldir_absolute_file_absolute_different
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_different: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_different: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_different: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_absolute_different () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_different: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_different: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_missing__ldir_absolute_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_missing__ldir_absolute_file_absolute_different: relative
set directories
(gdb) break compdir_relative_ldir_missing__file_basename
Breakpoint 12 at 0x2660: file tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 12, compdir_relative_ldir_missing__file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_basename: continue to breakpoint: compdir_relative_ldir_missing__file_basename
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_basename: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/compdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_missing__file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/compdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_basename: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_basename: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_missing__file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_basename: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_basename: set filename-display relative
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_missing__file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_basename: relative
set directories
(gdb) break compdir_relative_ldir_missing__file_relative
Breakpoint 13 at 0x26a0: file fdir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 13, compdir_relative_ldir_missing__file_relative () at fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_relative: continue to breakpoint: compdir_relative_ldir_missing__file_relative
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_relative: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/compdir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_missing__file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/compdir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_relative: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_relative: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_missing__file_relative () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_relative: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_relative: set filename-display relative
expect: fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_missing__file_relative () at fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_relative: relative
set directories
(gdb) break compdir_relative_ldir_missing__file_absolute
Breakpoint 14 at 0x26e0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 14, compdir_relative_ldir_missing__file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_absolute: continue to breakpoint: compdir_relative_ldir_missing__file_absolute
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_absolute: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_missing__file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_absolute: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_absolute: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_missing__file_absolute () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_absolute: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_absolute: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_missing__file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_missing__file_absolute: relative
set directories
(gdb) break compdir_relative_ldir_relative_file_basename
Breakpoint 15 at 0x2720: file ldir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 15, compdir_relative_ldir_relative_file_basename () at ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_basename: continue to breakpoint: compdir_relative_ldir_relative_file_basename
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_basename: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/compdir/ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_relative_file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/compdir/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_basename: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_basename: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_relative_file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_basename: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_basename: set filename-display relative
expect: ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_relative_file_basename () at ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_basename: relative
set directories
(gdb) break compdir_relative_ldir_relative_file_relative
Breakpoint 16 at 0x2760: file ldir/fdir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 16, compdir_relative_ldir_relative_file_relative () at ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_relative: continue to breakpoint: compdir_relative_ldir_relative_file_relative
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_relative: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/compdir/ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_relative_file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/rdir/compdir/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_relative: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_relative: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_relative_file_relative () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_relative: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_relative: set filename-display relative
expect: ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_relative_file_relative () at ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_relative: relative
set directories
(gdb) break compdir_relative_ldir_relative_file_absolute
Breakpoint 17 at 0x27a0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 17, compdir_relative_ldir_relative_file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_absolute: continue to breakpoint: compdir_relative_ldir_relative_file_absolute
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_absolute: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_relative_file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_absolute: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_absolute: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_relative_file_absolute () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_absolute: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_absolute: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_relative_file_absolute () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_relative_file_absolute: relative
set directories
(gdb) break compdir_relative_ldir_absolute_file_basename
Breakpoint 18 at 0x27e0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 18, compdir_relative_ldir_absolute_file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_basename: continue to breakpoint: compdir_relative_ldir_absolute_file_basename
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_basename: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_basename: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_basename: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_basename: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_basename: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_basename: relative
set directories
(gdb) break compdir_relative_ldir_absolute_file_relative
Breakpoint 19 at 0x2820: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 19, compdir_relative_ldir_absolute_file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_relative: continue to breakpoint: compdir_relative_ldir_absolute_file_relative
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_relative: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_relative: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_relative: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_relative () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_relative: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_relative: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_relative: relative
set directories
(gdb) break compdir_relative_ldir_absolute_file_absolute_same
Breakpoint 20 at 0x2860: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 20, compdir_relative_ldir_absolute_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_same: continue to breakpoint: compdir_relative_ldir_absolute_file_absolute_same
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_same: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_same: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_same: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_absolute_same () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_same: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_same: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_same: relative
set directories
(gdb) break compdir_relative_ldir_absolute_file_absolute_different
Breakpoint 21 at 0x28a0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 21, compdir_relative_ldir_absolute_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_different: continue to breakpoint: compdir_relative_ldir_absolute_file_absolute_different
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_different: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_different: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_different: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_absolute_different () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_different: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_different: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_relative_ldir_absolute_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_relative_ldir_absolute_file_absolute_different: relative
set directories
(gdb) break compdir_absolute_ldir_missing__file_basename
Breakpoint 22 at 0x28e0: file tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 22, compdir_absolute_ldir_missing__file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_basename: continue to breakpoint: compdir_absolute_ldir_missing__file_basename
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_basename: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/compdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/compdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_basename: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_basename: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_basename: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_basename: set filename-display relative
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_basename: relative
set directories
(gdb) break compdir_absolute_ldir_missing__file_relative
Breakpoint 23 at 0x2920: file fdir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 23, compdir_absolute_ldir_missing__file_relative () at fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_relative: continue to breakpoint: compdir_absolute_ldir_missing__file_relative
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_relative: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/compdir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/compdir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_relative: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_relative: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_relative () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_relative: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_relative: set filename-display relative
expect: fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_relative () at fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_relative: relative
set directories
(gdb) break compdir_absolute_ldir_missing__file_absolute_same
Breakpoint 24 at 0x2960: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 24, compdir_absolute_ldir_missing__file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_same: continue to breakpoint: compdir_absolute_ldir_missing__file_absolute_same
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_same: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_same: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_same: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_absolute_same () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_same: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_same: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_same: relative
set directories
(gdb) break compdir_absolute_ldir_missing__file_absolute_different
Breakpoint 25 at 0x29a0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 25, compdir_absolute_ldir_missing__file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_different: continue to breakpoint: compdir_absolute_ldir_missing__file_absolute_different
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_different: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_different: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_different: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_absolute_different () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_different: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_different: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_missing__file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_missing__file_absolute_different: relative
set directories
(gdb) break compdir_absolute_ldir_relative_file_basename
Breakpoint 26 at 0x29e0: file ldir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 26, compdir_absolute_ldir_relative_file_basename () at ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_basename: continue to breakpoint: compdir_absolute_ldir_relative_file_basename
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_basename: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/compdir/ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_basename () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/compdir/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_basename: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_basename: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_basename () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_basename: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_basename: set filename-display relative
expect: ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_basename () at ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_basename: relative
set directories
(gdb) break compdir_absolute_ldir_relative_file_relative
Breakpoint 27 at 0x2a20: file ldir/fdir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 27, compdir_absolute_ldir_relative_file_relative () at ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_relative: continue to breakpoint: compdir_absolute_ldir_relative_file_relative
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_relative: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/compdir/ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_relative () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/compdir/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_relative: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_relative: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_relative () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_relative: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_relative: set filename-display relative
expect: ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_relative () at ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_relative: relative
set directories
(gdb) break compdir_absolute_ldir_relative_file_absolute_same
Breakpoint 28 at 0x2a60: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 28, compdir_absolute_ldir_relative_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_same: continue to breakpoint: compdir_absolute_ldir_relative_file_absolute_same
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_same: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_same: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_same: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_absolute_same () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_same: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_same: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_same: relative
set directories
(gdb) break compdir_absolute_ldir_relative_file_absolute_different
Breakpoint 29 at 0x2aa0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 29, compdir_absolute_ldir_relative_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_different: continue to breakpoint: compdir_absolute_ldir_relative_file_absolute_different
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_different: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_different: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_different: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_absolute_different () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_different: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_different: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_relative_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_relative_file_absolute_different: relative
set directories
(gdb) break compdir_absolute_ldir_absolute_file_basename_same
Breakpoint 30 at 0x2ae0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 30, compdir_absolute_ldir_absolute_file_basename_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_basename_same: continue to breakpoint: compdir_absolute_ldir_absolute_file_basename_same
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_basename_same: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_basename_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_basename_same: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_basename_same: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_basename_same () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_basename_same: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_basename_same: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_basename_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_basename_same: relative
set directories
(gdb) break compdir_absolute_ldir_absolute_file_relative_different
Breakpoint 31 at 0x2ba0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 31, compdir_absolute_ldir_absolute_file_relative_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_relative_different: continue to breakpoint: compdir_absolute_ldir_absolute_file_relative_different
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_relative_different: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_relative_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_relative_different: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_relative_different: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_relative_different () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_relative_different: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_relative_different: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_relative_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/ldir/fdir/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_relative_different: relative
set directories
(gdb) break compdir_absolute_ldir_absolute_file_absolute_same
Breakpoint 32 at 0x2be0: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 32, compdir_absolute_ldir_absolute_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_same: continue to breakpoint: compdir_absolute_ldir_absolute_file_absolute_same
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_same: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_same: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_same: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_absolute_same () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_same: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_same: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_absolute_same () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_same: relative
set directories
(gdb) break compdir_absolute_ldir_absolute_file_absolute_different
Breakpoint 33 at 0x2c20: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c, line 999.
(gdb) continue
Continuing.
Breakpoint 33, compdir_absolute_ldir_absolute_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_different: continue to breakpoint: compdir_absolute_ldir_absolute_file_absolute_different
set filename-display absolute
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_different: set filename-display absolute
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_different: absolute
set filename-display basename
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_different: set filename-display basename
expect: tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_absolute_different () at tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_different: basename
set filename-display relative
(gdb) PASS: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_different: set filename-display relative
expect: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c
frame
#0 compdir_absolute_ldir_absolute_file_absolute_different () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dir-file-name/dw2-dir-file-name.d/tmp-dw2-dir-file-name.c:999
(gdb) FAIL: gdb.dwarf2/dw2-dir-file-name.exp: compdir_absolute_ldir_absolute_file_absolute_different: relative
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-dos-drive.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dos-drive/dw2-dos-drive /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-dos-drive.S (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-dos-drive/dw2-dos-drive /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-dos-drive.S
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
--
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-ranges/dw2-ranges
Breakpoint 1, 0x0000239c in main ()
(gdb) info line main
No line number information available for address 0x239c <main>
(gdb) FAIL: gdb.dwarf2/dw2-ranges.exp: info line main
info line func
No line number information available for address 0x3a68 <func>
(gdb) FAIL: gdb.dwarf2/dw2-ranges.exp: info line func
info line main2
No line number information available for address 0x23c0 <main2>
(gdb) FAIL: gdb.dwarf2/dw2-ranges.exp: info line main2
info line func2
No line number information available for address 0x3a88 <func2>
(gdb) FAIL: gdb.dwarf2/dw2-ranges.exp: info line func2
info line main3
No line number information available for address 0x23e0 <main3>
(gdb) FAIL: gdb.dwarf2/dw2-ranges.exp: info line main3
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-ref-missing-frame/dw2-ref-missing-frame0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.S (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-ref-missing-frame/dw2-ref-missing-frame0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.S
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-ref-missing-frame/dw2-ref-missing-frame1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-ref-missing-frame/dw2-ref-missing-frame1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c
--
Connected to the simulator.
(gdb) load
gdbsim: no loadable sections "/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw2-simple-locdesc/dw2-simple-locdesc"
unable to load program
(gdb) p &s.shl
$1 = (int *) 0x14
(gdb) KFAIL: gdb.dwarf2/dw2-simple-locdesc.exp: p &s.shl (PRMS: symtab/13307)
p &s.data4
$2 = (int *) 0x10000
(gdb) PASS: gdb.dwarf2/dw2-simple-locdesc.exp: p &s.data4
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-single-line-discriminators.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-single-line-discriminators.exp completed in 0 seconds
--
Loading section .jcr, size 0x4 lma 0x4040
Loading section .data, size 0x860 lma 0x4044
Start address 0x100
Transfer rate: 136944 bits in <1 sec.
(gdb) print &var
$1 = (int *) 0x0
(gdb) FAIL: gdb.dwarf2/dw2-var-zero-addr.exp: print &var
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"
--
Loading section .jcr, size 0x4 lma 0x4040
Loading section .data, size 0x860 lma 0x4044
Start address 0x100
Transfer rate: 136944 bits in <1 sec.
(gdb) print &var
$1 = (int *) 0x0
(gdb) FAIL: gdb.dwarf2/dw2-var-zero-addr.exp: readnow: print &var
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.exp completed in 1 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw4-sig-type-unused/dw4-sig-type-unused /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.S (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/dw4-sig-type-unused/dw4-sig-type-unused /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.S
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
--
(gdb) run
Starting program: /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/implptrpiece/implptrpiece
Breakpoint 1, 0x0000239c in main ()
(gdb) print/d p[-1]
$1 = 1
(gdb) FAIL: gdb.dwarf2/implptrpiece.exp: print/d p[-1]
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/implptrpiece.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/mac-fileno.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/mac-fileno/mac-fileno0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/main.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.dwarf2/mac-fileno/mac-fileno0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/main.c
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/mac-fileno/mac-fileno1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/mac-fileno.S (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc -c -mnewlib -mboard=or1ksim -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.dwarf2/mac-fileno/mac-fileno1.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.dwarf2/mac-fileno.S
--
(gdb) PASS: gdb.go/basic-types.exp: pt float64(.42)
pt complex64(.42)
type = complex64
(gdb) PASS: gdb.go/basic-types.exp: pt complex64(.42)
pt complex64(.42i1.0)
Invalid number ".42i1".
(gdb) XFAIL: gdb.go/basic-types.exp: pt complex64(.42i1.0)
pt complex64(i1.0)
No symbol table is loaded. Use the "file" command.
(gdb) XFAIL: gdb.go/basic-types.exp: pt complex64(i1.0)
pt complex128(.42)
type = complex128
(gdb) PASS: gdb.go/basic-types.exp: pt complex128(.42)
pt complex128(.42i1.0)
Invalid number ".42i1".
(gdb) XFAIL: gdb.go/basic-types.exp: pt complex128(.42i1.0)
pt complex128(i1.0)
No symbol table is loaded. Use the "file" command.
(gdb) XFAIL: gdb.go/basic-types.exp: pt complex128(i1.0)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.go/basic-types.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.go/chan.exp ...
gdb compile failed, default_target_compile: Can't find or1k-elf-gccgo.
UNTESTED: gdb.go/chan.exp: chan.exp
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.go/chan.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.go/handcall.exp ...
--
break -line
missing argument for "-line"
(gdb) PASS: gdb.linespec/explicit.exp: complete 'break -li'
break -line 
missing argument for "-line"
(gdb) PASS: gdb.linespec/explicit.exp: complete -line with no value
break -function main FAIL: gdb.linespec/explicit.exp: complete unique function name (timeout)
break -function myfuncain FAIL: gdb.linespec/explicit.exp: complete non-unique function name (timeout)
break -function foomain FAIL: gdb.linespec/explicit.exp: complete non-existant function name (timeout)
break -source 3exFAIL: gdb.linespec/explicit.exp: complete unique file name (timeout)
break -source expFAIL: gdb.linespec/explicit.exp: complete non-unique file name (timeout)
break -source foo
../../../../../newlib/newlib/libc/errno/errno.c ../../../../../newlib/newlib/libc/reent/impure.c ../../../../../newlib/newlib/libc/stdlib/__atexit.c ../../../../../newlib/newlib/libc/stdlib/__call_atexit.c ../../../../../newlib/newlib/libc/stdlib/atexit.c ../../../../../newlib/newlib/libc/stdlib/atexit.h ../../../../../newlib/newlib/libc/stdlib/exit.c ../../../../../newlib/newlib/libc/string/memset.c ../../../../newlib/libgloss/or1k/board.h ../../../../newlib/libgloss/or1k/exceptions.c ../../../../newlib/libgloss/or1k/impure.c ../../../../newlib/libgloss/or1k/include/or1k-support.h ../../../../newlib/libgloss/or1k/interrupts.c ../../../../newlib/libgloss/or1k/or1k-internals.h ../../../../newlib/libgloss/or1k/or1k_uart.c ../../../../newlib/libgloss/or1k/syscalls.c ../../../../newlib/libgloss/or1k/timer.c ../../../../newlib/libgloss/or1k/util.c /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.linespec/3explicit.c /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.linespec/explicit.c /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.linespec/explicit2.c /home/shorne/work/openrisc/newlib/newlib/libc/include/machine/_default_types.h /home/shorne/work/openrisc/newlib/newlib/libc/include/reent.h /home/shorne/work/openrisc/newlib/newlib/libc/include/stdlib.h /home/shorne/work/openrisc/newlib/newlib/libc/include/string.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/_stdint.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/_timeval.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/_types.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/errno.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/lock.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/reent.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/stat.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/types.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/unistd.h /opt/shorne/software/or1k/lib/gcc/or1k-elf/5.3.0/include/stddef.h _default_types.h _stdint.h _types.h atexit.h board.h errno.h lock.h or1k-internals.h or1k-support.h reent.h stddef.h stdlib.h
(gdb) break -function main break -function main break -function main break -source 3exbreak -source expbreak -source foo
../../../../../newlib/newlib/libc/errno/errno.c ../../../../../newlib/newlib/libc/reent/impure.c ../../../../../newlib/newlib/libc/stdlib/__atexit.c ../../../../../newlib/newlib/libc/stdlib/__call_atexit.c ../../../../../newlib/newlib/libc/stdlib/atexit.c ../../../../../newlib/newlib/libc/stdlib/atexit.h ../../../../../newlib/newlib/libc/stdlib/exit.c ../../../../../newlib/newlib/libc/string/memset.c ../../../../newlib/libgloss/or1k/board.h ../../../../newlib/libgloss/or1k/exceptions.c ../../../../newlib/libgloss/or1k/impure.c ../../../../newlib/libgloss/or1k/include/or1k-support.h ../../../../newlib/libgloss/or1k/interrupts.c ../../../../newlib/libgloss/or1k/or1k-internals.h ../../../../newlib/libgloss/or1k/or1k_uart.c ../../../../newlib/libgloss/or1k/syscalls.c ../../../../newlib/libgloss/or1k/timer.c ../../../../newlib/libgloss/or1k/util.c /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.linespec/3explicit.c /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.linespec/explicit.c /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.linespec/explicit2.c /home/shorne/work/openrisc/newlib/newlib/libc/include/machine/_default_types.h /home/shorne/work/openrisc/newlib/newlib/libc/include/reent.h /home/shorne/work/openrisc/newlib/newlib/libc/include/stdlib.h /home/shorne/work/openrisc/newlib/newlib/libc/include/string.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/_stdint.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/_timeval.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/_types.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/errno.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/lock.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/reent.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/stat.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/types.h /home/shorne/work/openrisc/newlib/newlib/libc/include/sys/unistd.h /opt/shorne/software/or1k/lib/gcc/or1k-elf/5.3.0/include/stddef.h _default_types.h _stdint.h _types.h atexit.h board.h errno.h lock.h or1k-internals.h or1k-support.h reent.h stddef.h stdlib.h
(gdb) break -function main break -function main break -function main break -source 3exbreak -source expbreak -source fooFAIL: gdb.linespec/explicit.exp: complete non-existant file name (timeout)
break -source explicit.c -function main
Garbage 'break -function main break -function main break -source 3exbreak -source expbreak -source foobreak -source explicit.c -function main' at end of command
(gdb) FAIL: gdb.linespec/explicit.exp: complete filename and unique function name
delete $bpnum
No breakpoint number 19.
(gdb) FAIL: gdb.linespec/explicit.exp: delete complete filename and unique function name breakpoint
break -so 3explicit.c -func myfunction
myfunction3 myfunction4
(gdb) break -so 3explicit.c -func myfunction3
Breakpoint 20 at 0x2558: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.linespec/3explicit.c, line 27.
(gdb) PASS: gdb.linespec/explicit.exp: complete filename and non-unique function name
delete $bpnum
--
]+)?(122\^done,bkpt={number="5",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="62",thread-groups=\[.*\],times=".*".*original-location=".*"}[
]+[(]gdb[)]
[ ]*)
122-break-insert -r main
122^error,msg="-break-insert: Unknown option ``r''"
(gdb)
KFAIL: gdb.mi/mi-break.exp: break-insert -r operation (PRMS: mi/14270)
Expecting: ^(133-break-insert -r callee2[
]+)?(133\^done,bkpt={number="6",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="39",thread-groups=\[.*\],times=".*".*original-location=".*"}[
]+[(]gdb[)]
[ ]*)
133-break-insert -r callee2
133^error,msg="-break-insert: Unknown option ``r''"
(gdb)
KFAIL: gdb.mi/mi-break.exp: insert breakpoint with regexp callee2 (PRMS: mi/14270)
Expecting: ^(144-break-insert -r callee[
]+)?(144\^done,bkpt={number="7",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="44",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="8",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="39",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="9",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="34",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="10",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="25",thread-groups=\[.*\],times=".*".*original-location=".*"}[
]+[(]gdb[)]
[ ]*)
144-break-insert -r callee
144^error,msg="-break-insert: Unknown option ``r''"
(gdb)
KFAIL: gdb.mi/mi-break.exp: insert breakpoint with regexp callee (PRMS: mi/14270)
Expecting: ^(155-break-insert -r \.\*llee[
]+)?(155\^done,bkpt={number="11",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="44",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="12",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="39",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="13",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="34",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="14",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="25",thread-groups=\[.*\],times=".*".*original-location=".*"}[
]+[(]gdb[)]
[ ]*)
155-break-insert -r .*llee
155^error,msg="-break-insert: Unknown option ``r''"
(gdb)
KFAIL: gdb.mi/mi-break.exp: insert breakpoint with regexp .*llee (PRMS: mi/14270)
Expecting: ^(166-break-list[
]+)?(166\^done,BreakpointTable={nr_rows="10",nr_cols="6",hdr=\[{width=".*",alignment=".*",col_name="number",colhdr="Num"},{width=".*",alignment=".*",col_name="type",colhdr="Type"},{width=".*",alignment=".*",col_name="disp",colhdr="Disp"},{width=".*",alignment=".*",col_name="enabled",colhdr="Enb"},{width=".*",alignment=".*",col_name="addr",colhdr="Address"},{width=".*",alignment=".*",col_name="what",colhdr="What"}\],body=\[bkpt={number="5",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="62",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="6",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="39",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="7",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="44",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="8",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="39",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="9",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="34",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="10",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="25",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="11",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="44",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="12",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="39",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="13",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="34",thread-groups=\[.*\],times=".*".*original-location=".*"},bkpt={number="14",type=".*",disp=".*",enabled=".*",addr=".*",func=".*",file=".*basics.c",fullname=".*",line="25",thread-groups=\[.*\],times=".*".*original-location=".*"}\]}[
]+[(]gdb[)]
[ ]*)
166-break-list
166^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
(gdb)
KFAIL: gdb.mi/mi-break.exp: list of breakpoints (PRMS: mi/14270)
Expecting: ^(177-break-delete[
]+)?(177\^done[
]+[(]gdb[)]
[ ]*)
177-break-delete
177^done
--
[ ]*)
set scheduler-locking on
&"set scheduler-locking on\n"
&"Target 'sim' cannot support this command.\n"
^error,msg="Target 'sim' cannot support this command."
(gdb)
FAIL: gdb.mi/mi-cmd-param-changed.exp: cmd param: "set scheduler-locking on"
Expecting: ^(set scheduler-locking off[
]+)?(.*=cmd-param-changed,param="scheduler-locking",value="off".*\^done[
]+[(]gdb[)]
[ ]*)
set scheduler-locking off
&"set scheduler-locking off\n"
&"Target 'sim' cannot support this command.\n"
^error,msg="Target 'sim' cannot support this command."
(gdb)
FAIL: gdb.mi/mi-cmd-param-changed.exp: cmd param: "set scheduler-locking off"
Expecting: ^(set scheduler-locking step[
]+)?(.*=cmd-param-changed,param="scheduler-locking",value="step".*\^done[
]+[(]gdb[)]
[ ]*)
set scheduler-locking step
&"set scheduler-locking step\n"
&"Target 'sim' cannot support this command.\n"
^error,msg="Target 'sim' cannot support this command."
(gdb)
FAIL: gdb.mi/mi-cmd-param-changed.exp: cmd param: "set scheduler-locking step"
Expecting: ^(interpreter-exec console "set scheduler-locking on"[
]+)?(.*=cmd-param-changed,param="scheduler-locking",value="on".*\^done[
]+[(]gdb[)]
[ ]*)
interpreter-exec console "set scheduler-locking on"
&"interpreter-exec console \"set scheduler-locking on\"\n"
Target 'sim' cannot support this command.
&"error in command: \"set scheduler-locking on\".\n"
^error,msg="error in command: \"set scheduler-locking on\"."
(gdb)
FAIL: gdb.mi/mi-cmd-param-changed.exp: cmd param: interpreter-exec "set scheduler-locking on"
Expecting: ^(interpreter-exec console "set scheduler-locking off"[
]+)?(.*=cmd-param-changed,param="scheduler-locking",value="off".*\^done[
]+[(]gdb[)]
[ ]*)
interpreter-exec console "set scheduler-locking off"
&"interpreter-exec console \"set scheduler-locking off\"\n"
Target 'sim' cannot support this command.
&"error in command: \"set scheduler-locking off\".\n"
^error,msg="error in command: \"set scheduler-locking off\"."
(gdb)
FAIL: gdb.mi/mi-cmd-param-changed.exp: cmd param: interpreter-exec "set scheduler-locking off"
Expecting: ^(interpreter-exec console "set scheduler-locking step"[
]+)?(.*=cmd-param-changed,param="scheduler-locking",value="step".*\^done[
]+[(]gdb[)]
[ ]*)
interpreter-exec console "set scheduler-locking step"
&"interpreter-exec console \"set scheduler-locking step\"\n"
Target 'sim' cannot support this command.
&"error in command: \"set scheduler-locking step\".\n"
^error,msg="error in command: \"set scheduler-locking step\"."
(gdb)
FAIL: gdb.mi/mi-cmd-param-changed.exp: cmd param: interpreter-exec "set scheduler-locking step"
Expecting: ^(-gdb-set scheduler-locking on[
]+)?(\^done[
]+[(]gdb[)]
[ ]*)
-gdb-set scheduler-locking on
^error,msg="Target 'sim' cannot support this command."
(gdb)
FAIL: gdb.mi/mi-cmd-param-changed.exp: cmd param: "set scheduler-locking on" no event (requested by MI)
Expecting: ^(-exec-arguments foo[
]+)?(\^done[
]+[(]gdb[)]
[ ]*)
-exec-arguments foo
^done
--
[ ]*)
interpreter-exec mi "-gdb-set scheduler-locking step"
&"interpreter-exec mi \"-gdb-set scheduler-locking step\"\n"
^error,msg="Target 'sim' cannot support this command."
^done
(gdb)
FAIL: gdb.mi/mi-cmd-param-changed.exp: cmd param: "set scheduler-locking step" no event (requested by MI interp)
Expecting: ^(set scheduler-locking step[
]+)?(\&"set scheduler-locking step\\n"
\^done[
]+[(]gdb[)]
[ ]*)
set scheduler-locking step
&"set scheduler-locking step\n"
&"Target 'sim' cannot support this command.\n"
^error,msg="Target 'sim' cannot support this command."
(gdb)
FAIL: gdb.mi/mi-cmd-param-changed.exp: cmd param: "set scheduler-locking stepr" no event
Expecting: ^(set remotecache off[
]+)?(.*\^done[
]+[(]gdb[)]
[ ]*)
set remotecache off
&"set remotecache off\n"
--
1003-exec-next
1004-gdb-set logging off
1004^done
*stopped,reason="end-stepping-range",frame={addr="0x0000253c",func="main",args=[],file="/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="63"},thread-id="1",stopped-threads="all"
(gdb)
PASS: gdb.mi/mi-logging.exp: redirect logging off
FAIL: gdb.mi/mi-logging.exp: Redirect log file contents
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/mi-logging.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/mi-memory-changed.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.mi/mi-memory-changed/mi-memory-changed (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.mi/mi-memory-changed/mi-memory-changed
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 -i=mi
=thread-group-added,id="i1"
--
$
*stopped,reason="end-stepping-range",frame={addr="0x000023d4",func="foo",args=[],file="/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/until.c",fullname="/home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.mi/until.c",line="10"},thread-id="1",stopped-threads="all"
(gdb)
got *stopped,reason="end-stepping-range",frame={addr="0x000023d4",func="foo",args=[],file="/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/until.c",fullname="/home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.mi/until.c",line="10"},thread-id="1",stopped-threads="all"
(gdb)
KFAIL: gdb.mi/mi-until.exp: until after while loop (stopped at wrong place) (PRMS: gdb/2104)
-exec-until 16
^running
*running,thread-id="all"
(gdb)
mi_expect_stop: expecting: \*stopped,reason="location-reached",frame={addr="0x[0-9A-Fa-f]+",func="foo",args=\[\],(?:file="[^
]*.*until.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*until.c",line="16"|from=".*until.c")},thread-id="[0-9]+",stopped-threads=[^
--
]+)?(\^done,changelist={FIXME}[
]+[(]gdb[)]
[ ]*)
-var-update inner_foo
^done,changelist=[{name="inner_foo",in_scope="false",type_changed="false",has_more="0"}]
(gdb)
XFAIL: gdb.mi/mi-var-block.exp: update inner_foo: should be out of scope: KNOWN PROBLEM
Expecting: ^(-var-evaluate-expression inner_foo[
]+)?(\^done,value={FIXME}[
]+[(]gdb[)]
[ ]*)
-var-evaluate-expression inner_foo
^done,value=""
(gdb)
XFAIL: gdb.mi/mi-var-block.exp: evaluate inner_foo: should be out of scope: KNOWN PROBLEM
Expecting: ^(-var-update foo[
]+)?(\^done,changelist=\[\][
]+[(]gdb[)]
[ ]*)
-var-update foo
^done,changelist=[]
--
]+)?(\^done,changelist={FIXME}[
]+[(]gdb[)]
[ ]*)
-var-update foo2
^done,changelist=[{name="foo2",in_scope="false",type_changed="false",has_more="0"}]
(gdb)
XFAIL: gdb.mi/mi-var-block.exp: update foo2: should be out of scope: KNOWN PROBLEM
-exec-step
^running
*running,thread-id="all"
(gdb)
mi_expect_stop: expecting: \*stopped,reason="end-stepping-range",frame={addr="0x[0-9A-Fa-f]+",func="do_block_tests",args=\[\],(?:file="[^
]*var-cmd.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\)var-cmd.c",line="227"|from="var-cmd.c")},thread-id="[0-9]+",stopped-threads=[^
--
]+)?(\^done,changelist=\[FIXME\][
]+[(]gdb[)]
[ ]*)
-var-update foo2
^done,changelist=[]
(gdb)
XFAIL: gdb.mi/mi-var-block.exp: update foo2 should be out of scope: KNOWN PROBLEM
Expecting: ^(-var-update foo[
]+)?(\^done,changelist={FIXME}[
]+[(]gdb[)]
[ ]*)
-var-update foo
^done,changelist=[{name="foo",in_scope="false",type_changed="false",has_more="0"}]
(gdb)
XFAIL: gdb.mi/mi-var-block.exp: update foo should be out of scope: KNOWN PROBLEM
Expecting: ^(-var-update cb[
]+)?(\^done,changelist=\[\][
]+[(]gdb[)]
[ ]*)
-var-update cb
^done,changelist=[]
--
]+)?(FIXME\^done,changelist=\[{name="psnp->ptrs.0.next.long_ptr",in_scope_changed="false"}\][
]+[(]gdb[)]
[ ]*)
-var-update *
^done,changelist=[{name="psnp->ptrs.0.next.long_ptr",in_scope="true",type_changed="false",has_more="0"}]
(gdb)
XFAIL: gdb.mi/mi-var-child.exp: update all vars psnp->next->long_ptr (and 1.long_ptr) changed
-exec-step
^running
*running,thread-id="all"
(gdb)
mi_expect_stop: expecting: \*stopped,reason="end-stepping-range",frame={addr="0x[0-9A-Fa-f]+",func="do_children_tests",args=\[\],(?:file="[^
]*.*mi-var-child.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*mi-var-child.c",line="303"|from=".*mi-var-child.c")},thread-id="[0-9]+",stopped-threads=[^
--
]+)?(\^done,changelist={FIXME: WHAT IS CORRECT HERE}[
]+[(]gdb[)]
[ ]*)
-var-update *
^done,changelist=[]
(gdb)
XFAIL: gdb.mi/mi-var-cmd.exp: update all vars: changed FIXME
-exec-step
^running
*running,thread-id="all"
(gdb)
mi_expect_stop: expecting: \*stopped,reason="end-stepping-range",frame={addr="0x[0-9A-Fa-f]+",func="subroutine1",args=\[{name="i",value=".*"},{name="l",value=".*"}\],(?:file="[^
]*var-cmd.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\)var-cmd.c",line="204"|from="var-cmd.c")},thread-id="[0-9]+",stopped-threads=[^
--
~"0x000023d8 in callee4 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c:31\n"
~"31\t}\n"
*stopped,reason="watchpoint-scope",wpnum="2",frame={addr="0x000023d8",func="callee4",args=[],file="/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="31"},thread-id="1",stopped-threads="all"
=breakpoint-deleted,id="2"
(gdb)
FAIL: gdb.mi/mi-watch.exp: sw: watchpoint trigger (stopped at wrong place)
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 -i=mi
=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.11.50.20160313-git\n"
~"Copyright (C) 2016 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
~"This GDB was configured as \"--host=x86_64-pc-linux-gnu --target=or1k-elf\".\nType \"show configuration\" for configuration details."
--
~"0x000023d8 in callee4 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c:31\n"
~"31\t}\n"
*stopped,reason="watchpoint-scope",wpnum="2",frame={addr="0x000023d8",func="callee4",args=[],file="/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/home/shorne/work/openrisc/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="31"},thread-id="1",stopped-threads="all"
=breakpoint-deleted,id="2"
(gdb)
FAIL: gdb.mi/mi-watch.exp: hw: watchpoint trigger (stopped at wrong place)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/mi-watch.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi/mi2-amd64-entry-value.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 -i=mi2
=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.11.50.20160313-git\n"
~"Copyright (C) 2016 Free Software Foundation, Inc.\n"
--
]+)?(FIXME\^done,changelist=\[{name="psnp->ptrs.0.next.long_ptr",in_scope="true",type_changed="false",has_more="0"}\][
]+[(]gdb[)]
[ ]*)
-var-update *
^done,changelist=[{name="psnp->ptrs.0.next.long_ptr",in_scope="true",type_changed="false",has_more="0"}]
(gdb)
XFAIL: gdb.mi/mi2-var-child.exp: update all vars psnp->next->long_ptr (and 1.long_ptr) changed
-exec-step
^running
*running,thread-id="all"
(gdb)
mi_expect_stop: expecting: \*stopped,reason="end-stepping-range",frame={addr="0x[0-9A-Fa-f]+",func="do_children_tests",args=\[\],(?:file="[^
]*.*var-cmd.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*var-cmd.c",line="323"|from=".*var-cmd.c")},thread-id="[0-9]+",stopped-threads=[^
--
(gdb) PASS: gdb.modula2/unbounded-array.exp: switch to modula-2
print HIGH(a)
$1 = 4
(gdb) PASS: gdb.modula2/unbounded-array.exp: print the last legal element of array a
print a
$2 = {"a", HIGH = 0}
(gdb) FAIL: gdb.modula2/unbounded-array.exp: print unbounded array contents
print/c a[0]
$3 = 97 'a'
(gdb) PASS: gdb.modula2/unbounded-array.exp: print the 1st element of array a
print/c a[1]
$4 = 98 'b'
(gdb) PASS: gdb.modula2/unbounded-array.exp: print the 2nd element of array a
--
Breakpoint 3 at 0x23e8: commonfun. (2 locations)
(gdb) inferior 2
[Switching to inferior 2 [<null>] (/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/dummy-frame-restore/dummy-frame-restore)]
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 1 first: switch to inferior 2 (1)
bt 1
No stack.
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 1 first: before infcall: bt in inferior 2
p commonfun()
You can't do that without a process to debug.
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 1 first: infcall in inferior 2
inferior 1
[Switching to inferior 1 [process 42000] (/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/dummy-frame-restore/dummy-frame-restore)]
[Switching to thread 1.1 (process 42000)]
#0 f2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:24
24 {}
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 1 first: switch to inferior 1 (1)
bt 1
#0 f2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:24
(More stack frames follow...)
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 1 first: before infcall: bt in inferior 1
p commonfun()
Breakpoint 3, commonfun () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:28
28 {}
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(commonfun) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 1 first: infcall in inferior 1
maintenance print dummy-frames
0x16f36e0: id={stack=0x7fd608,code=0x7fd608,!special}, ptid=process 42000
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 1 first: two dummy frames
inferior 1
[Switching to inferior 1 [process 42000] (/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/dummy-frame-restore/dummy-frame-restore)]
[Switching to thread 1.1 (process 42000)]
#0 commonfun () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:28
28 {}
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 1 first: switch to inferior 1 (2)
--
f2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:24
24 {}
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 1 first: finish in inferior 1
bt 1
#0 f2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:24
(More stack frames follow...)
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 1 first: after infcall: bt in inferior 1
inferior 2
[Switching to inferior 2 [<null>] (/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/dummy-frame-restore/dummy-frame-restore)]
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 1 first: switch to inferior 2 (2)
finish
The program is not being run.
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 1 first: finish in inferior 2 (the program is no longer running)
bt 1
No stack.
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 1 first: after infcall: bt in inferior 2
inferior 2
[Switching to inferior 2 [<null>] (/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/dummy-frame-restore/dummy-frame-restore)]
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 2 first: switch to inferior 2 (1)
bt 1
No stack.
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 2 first: before infcall: bt in inferior 2
p commonfun()
You can't do that without a process to debug.
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 2 first: infcall in inferior 2
inferior 1
[Switching to inferior 1 [process 42000] (/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/dummy-frame-restore/dummy-frame-restore)]
[Switching to thread 1.1 (process 42000)]
#0 f2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:24
24 {}
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 2 first: switch to inferior 1 (1)
bt 1
#0 f2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:24
(More stack frames follow...)
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 2 first: before infcall: bt in inferior 1
p commonfun()
Breakpoint 3, commonfun () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:28
28 {}
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(commonfun) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 2 first: infcall in inferior 1
maintenance print dummy-frames
0x1738a40: id={stack=0x7fd608,code=0x7fd608,!special}, ptid=process 42000
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 2 first: two dummy frames
inferior 2
[Switching to inferior 2 [<null>] (/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/dummy-frame-restore/dummy-frame-restore)]
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 2 first: switch to inferior 2 (2)
finish
The program is not being run.
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 2 first: finish in inferior 2 (the program is no longer running)
bt 1
No stack.
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 2 first: after infcall: bt in inferior 2
inferior 1
[Switching to inferior 1 [process 42000] (/home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/dummy-frame-restore/dummy-frame-restore)]
[Switching to thread 1.1 (process 42000)]
#0 commonfun () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:28
28 {}
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 2 first: switch to inferior 1 (2)
--
f2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:24
24 {}
(gdb) PASS: gdb.multi/dummy-frame-restore.exp: inf 2 first: finish in inferior 1
bt 1
#0 f2 () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.c:24
(More stack frames follow...)
(gdb) FAIL: gdb.multi/dummy-frame-restore.exp: inf 2 first: after infcall: bt in inferior 1
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/dummy-frame-restore.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/info-threads.exp ...
Executing on host: or1k-elf-gcc -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/info-threads/info-threads0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/hello.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.multi/info-threads/info-threads0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.multi/hello.c
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/info-threads/info-threads0.o -mnewlib -mboard=or1ksim -g -lpthreads -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/info-threads/info-threads (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/info-threads/info-threads0.o -mnewlib -mboard=or1ksim -g -lpthreads -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.multi/info-threads/info-threads
--
(gdb) PASS: gdb.opt/inline-cmds.exp: continue to breakpoint: consecutive func1
next
73 func1 (); /* first call */
(gdb) PASS: gdb.opt/inline-cmds.exp: next to first func1
next
75 marker ();
(gdb) KFAIL: gdb.opt/inline-cmds.exp: next to second func1 (PRMS: gdb/NNNN)
break 78
Breakpoint 8 at 0x20c8: file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.opt/inline-cmds.c, line 78.
(gdb) continue
Continuing.
Breakpoint 8, main () at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.opt/inline-cmds.c:78
--
(gdb) PASS: gdb.pascal/types.exp: pt FALSE
pt 'a'
type = char
(gdb) PASS: gdb.pascal/types.exp: pt 'a'
pt 'a simple string'
No symbol table is loaded. Use the "file" command.
(gdb) KFAIL: gdb.pascal/types.exp: pt 'a simple string' (PRMS: gdb/2326)
pt .44
type = double
(gdb) PASS: gdb.pascal/types.exp: pt .44
pt 44.0
type = double
(gdb) PASS: gdb.pascal/types.exp: pt 44.0
--
gdb compile failed, /opt/shorne/software/or1k/lib/gcc/or1k-elf/5.3.0/../../../../or1k-elf/bin/ld: -shared not supported
collect2: error: ld returned 1 exit status
UNTESTED: gdb.python/py-events.exp: Could not compile either /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-events-shlib.c or /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-events.c.
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-events.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-evsignal.exp ...
KFAIL: gdb.python/py-evsignal.exp: Signal Thread 3 (PRMS: python/12966)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-evsignal.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-evthreads.exp ...
KFAIL: gdb.python/py-evthreads.exp: Run to breakpoint 1 (PRMS: python/12966)
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-evthreads.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-explore-cc.exp ...
Executing on host: or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.python/py-explore-cc/py-explore-cc0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-explore.cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ -c -mnewlib -mboard=or1ksim -g -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.python/py-explore-cc/py-explore-cc0.o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.python/py-explore.cc
Executing on host: or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.python/py-explore-cc/py-explore-cc0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.python/py-explore-cc/py-explore-cc (timeout = 300)
spawn -ignore SIGHUP or1k-elf-g++ /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.python/py-explore-cc/py-explore-cc0.o -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.python/py-explore-cc/py-explore-cc
--
Breakpoint 3, test2 (t=0x7fe000) at /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.stabs/gdb11479.c:41
41 {
(gdb) PASS: gdb.stabs/gdb11479.exp: Stop at first breakpoint forced_stabs
print *t
$1 = {x = 0, y = 0, b = 0}
(gdb) FAIL: gdb.stabs/gdb11479.exp: Inspect t in test2 forced_stabs
print sizeof (*e)
$2 = 4
(gdb) PASS: gdb.stabs/gdb11479.exp: sizeof (*e) in test2 forced_stabs
continue
Continuing.
--
(gdb) PASS: gdb.stabs/weird.exp: whatis consth
whatis consth2
type = inttype
(gdb) PASS: gdb.stabs/weird.exp: whatis consth2
p/x bad_neg0const
$183 = Value can't be converted to integer.
(gdb) XFAIL: gdb.stabs/weird.exp: print struct constant
ptype bad_type0
type = <unknown type>
(gdb) PASS: gdb.stabs/weird.exp: print bad_type0
ptype bad_type1
type = <unknown type>
(gdb) PASS: gdb.stabs/weird.exp: print bad_type1
p array0
$184 = <unknown type>
(gdb) XFAIL: gdb.stabs/weird.exp: array0 with strange index
p array1
$185 = <unknown type>
(gdb) XFAIL: gdb.stabs/weird.exp: array1 with strange index
whatis one_var
type = inttype_one
(gdb) PASS: gdb.stabs/weird.exp: whatis one_var (known failure in gdb 4.10)
whatis one_var
type = inttype_one
(gdb) PASS: gdb.stabs/weird.exp: whatis one_var test 2
--
(gdb) PASS: gdb.stabs/weird.exp: whatis two_var (known failure in gdb 4.10)
whatis two_var
type = inttype_two
(gdb) PASS: gdb.stabs/weird.exp: whatis two_var test 2
whatis pointer_to_int_var
type = inttype *
(gdb) XFAIL: gdb.stabs/weird.exp: whatis pointer_to_int_var
whatis intp_var
type = inttype *
(gdb) XFAIL: gdb.stabs/weird.exp: whatis intp_var
p common0var0
$186 = 42
(gdb) PASS: gdb.stabs/weird.exp: p common0var0
p common0var1
$187 = 42
(gdb) XFAIL: gdb.stabs/weird.exp: p common0var1
p common0var2
$188 = 42
(gdb) XFAIL: gdb.stabs/weird.exp: p common0var2
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.stabs/weird.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/attach-into-signal.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/attach-into-signal.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.exp ...
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/attach-stopped.exp ...
--
0x000023fc <+52>: l.ori r1,r2,0x0
0x00002400 <+56>: l.lwz r2,-8(r1)
0x00002404 <+60>: l.lwz r9,-4(r1)
0x00002408 <+64>: l.jr r9
0x0000240c <+68>: l.nop 0x0
End of assembler dump.
(gdb) FAIL: gdb.trace/entry-values.exp: disassemble bar
FAIL: gdb.trace/entry-values.exp: Find the call or branch instruction offset in bar
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/entry-values.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/ftrace-lock.exp ...
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/ftrace-lock.c -DNUM_THREADS=2 -mnewlib -mboard=or1ksim -g -lpthreads -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.trace/ftrace-lock/ftrace-lock (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/ftrace-lock.c -DNUM_THREADS=2 -mnewlib -mboard=or1ksim -g -lpthreads -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.trace/ftrace-lock/ftrace-lock
In file included from /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/ftrace-lock.c:20:0:
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/trace-common.h:53:2: error: #error "unsupported architecture for trace tests"
--
]+)?(.*=breakpoint-created,bkpt={number="[0-9]+",type="tracepoint",disp="keep",enabled="y",.*,func="write_basic_trace_file".*\^connected[
]+[(]gdb[)]
[ ]*)
-target-select tfile tfile-basic.tf
^error,msg="/home/shorne/work/openrisc/build-gdb/gdb/testsuite/tfile-basic.tf: No such file or directory."
(gdb)
FAIL: gdb.trace/mi-traceframe-changed.exp: tfile: select trace file
Expecting: ^(tfind 0[
]+)?(.*=traceframe-changed,num="0",tracepoint="[0-9]+".*\^done[
]+[(]gdb[)]
[ ]*)
tfind 0
&"tfind 0\n"
&"Target failed to find requested trace frame.\n"
^error,msg="Target failed to find requested trace frame."
(gdb)
FAIL: gdb.trace/mi-traceframe-changed.exp: tfile: tfind 0
Expecting: ^(tfind 0[
]+)?(\&"tfind 0\\n"
~"Found.*\^done[
]+[(]gdb[)]
[ ]*)
tfind 0
&"tfind 0\n"
&"Target failed to find requested trace frame.\n"
^error,msg="Target failed to find requested trace frame."
(gdb)
FAIL: gdb.trace/mi-traceframe-changed.exp: tfile: tfind 0 again
Expecting: ^(tfind end[
]+)?(.*=traceframe-changed,end.*\^done[
]+[(]gdb[)]
[ ]*)
tfind end
&"tfind end\n"
~"No longer looking at any trace frame\n"
^done
(gdb)
FAIL: gdb.trace/mi-traceframe-changed.exp: tfile: tfind end
Expecting: ^(-trace-find frame-number 0[
]+)?(-trace-find frame-number 0
\^done,found="1",tracepoint="[0-9]+",traceframe="0",frame={.*[
]+[(]gdb[)]
[ ]*)
-trace-find frame-number 0
^done,found="0"
(gdb)
FAIL: gdb.trace/mi-traceframe-changed.exp: tfile: -trace-find frame-number 0
Executing on host: or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/status-stop.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.trace/mi-traceframe-changed/mi-traceframe-changed-1 (timeout = 300)
spawn -ignore SIGHUP or1k-elf-gcc /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/status-stop.c -w -mnewlib -mboard=or1ksim -g -lm -o /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.trace/mi-traceframe-changed/mi-traceframe-changed-1
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>
--
Loading section .jcr, size 0x4 lma 0x12990
Loading section .data, size 0xcfc lma 0x12994
Start address 0x100
Transfer rate: 570496 bits in <1 sec.
(gdb) target tfile tfile-basic.tf
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/tfile-basic.tf: No such file or directory.
(gdb) FAIL: gdb.trace/tfile.exp: target tfile tfile-basic.tf
info trace
No tracepoints.
(gdb) FAIL: gdb.trace/tfile.exp: info tracepoints on trace file
tfind 0
Target failed to find requested trace frame.
(gdb) FAIL: gdb.trace/tfile.exp: tfind 0 on trace file
print testglob
$1 = 31415
(gdb) PASS: gdb.trace/tfile.exp: print testglob on trace file
print testglob2
$2 = 271828
(gdb) PASS: gdb.trace/tfile.exp: print testglob2 on trace file
--
0x00002d7c <+60>: l.jr r9
0x00002d80 <+64>: l.nop 0x0
End of assembler dump.
(gdb) PASS: gdb.trace/tfile.exp: disassemble main
print nonconstglob
$4 = 14124
(gdb) FAIL: gdb.trace/tfile.exp: print nonconstglob on trace file
tfind
Target failed to find requested trace frame.
(gdb) PASS: gdb.trace/tfile.exp: tfind does not find a second frame in trace file
tstatus
Trace can not be run on this target.
(gdb) FAIL: gdb.trace/tfile.exp: tstatus on trace file
tfind end
No longer looking at any trace frame
(gdb) PASS: gdb.trace/tfile.exp: leave tfind mode
backtrace
No stack.
(gdb) PASS: gdb.trace/tfile.exp: no stack if no traceframe selected
--
Loading section .jcr, size 0x4 lma 0x12990
Loading section .data, size 0xcfc lma 0x12994
Start address 0x100
Transfer rate: 570496 bits in <1 sec.
(gdb) target tfile tfile-error.tf
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/tfile-error.tf: No such file or directory.
(gdb) FAIL: gdb.trace/tfile.exp: target tfile tfile-error.tf
tstatus
Trace can not be run on this target.
(gdb) FAIL: gdb.trace/tfile.exp: tstatus on error trace file
interpreter-exec mi "-target-select tfile tfile-basic.tf"
^error,msg="/home/shorne/work/openrisc/build-gdb/gdb/testsuite/tfile-basic.tf: No such file or directory."
(gdb) FAIL: gdb.trace/tfile.exp: interpreter-exec mi "-target-select tfile tfile-basic.tf"
interpreter-exec mi "-trace-status"
^done,supported="0"
(gdb) FAIL: gdb.trace/tfile.exp: -trace-status
show editing
Editing of command lines as they are typed is on.
(gdb) target tfile tfile-basic
/home/shorne/work/openrisc/build-gdb/gdb/testsuite/tfile-basic: No such file or directory.
(gdb) FAIL: gdb.trace/tfile.exp: complete-command 'target tfile'
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/tfile.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.trace/tfind.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>
--
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set height 0
(gdb) set width 0
(gdb) set tdesc file /home/shorne/work/openrisc/build-gdb/gdb/testsuite/outputs/gdb.xml/tdesc-regs/single-reg.xml
warning: Architecture rejected target-supplied description
(gdb) FAIL: gdb.xml/tdesc-regs.exp: set tdesc file single-reg.xml
UNSUPPORTED: gdb.xml/tdesc-regs.exp: register tests
testcase /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.xml/tdesc-regs.exp completed in 0 seconds
Running /home/shorne/work/openrisc/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.xml/tdesc-xinclude.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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment