[Bug gdb/24521] New: readnow failures

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/24521] New: readnow failures

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24521

            Bug ID: 24521
           Summary: readnow failures
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

[ See also PR24517 - "DW_AT_main_subprogram ignored with readnow". ]

With -readnow on by default:
...
diff --git a/gdb/symfile.c b/gdb/symfile.c
index af99da18f7..a1f1e75f91 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -85,7 +85,7 @@ using clear_symtab_users_cleanup
   = FORWARD_SCOPE_EXIT (clear_symtab_users);

 /* Global variables owned by this file.  */
-int readnow_symbol_files;      /* Read full symbols immediately.  */
+int readnow_symbol_files = 1;  /* Read full symbols immediately.  */
 int readnever_symbol_files;    /* Never read full symbols.  */

 /* Functions this file defines.  */
...

we run into these failures:
...
FAIL: gdb.ada/access_to_packed_array.exp: print pack.a
FAIL: gdb.ada/access_to_packed_array.exp: print pack.aa
FAIL: gdb.ada/access_to_packed_array.exp: print pack.a(2)
FAIL: gdb.ada/access_to_packed_array.exp: print pack.aa(2)
FAIL: gdb.ada/array_char_idx.exp: ptype char_table
FAIL: gdb.ada/array_char_idx.exp: ptype global_char_table
FAIL: gdb.ada/array_char_idx.exp: Display my_table
FAIL: gdb.ada/array_of_variable_length.exp: ptype pck.a
FAIL: gdb.ada/array_of_variable_length.exp: print pck.a
FAIL: gdb.ada/array_of_variable_length.exp: ptype $
FAIL: gdb.ada/arraydim.exp: ptype global_3dim_for_gdb_testing
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'first
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'last
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'length
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'first(1)
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'last(1)
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'length(1)
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'first(2)
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'last(2)
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'length(2)
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'first(3)
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'last(3)
FAIL: gdb.ada/arraydim.exp: print global_3dim_for_gdb_testing'length(3)
FAIL: gdb.ada/arrayparam.exp: print call_me ("bonjour")
FAIL: gdb.ada/arrayparam.exp: print first after function call
FAIL: gdb.ada/arrayparam.exp: print last after function call
FAIL: gdb.ada/arrayparam.exp: print length after function call
FAIL: gdb.ada/assign_arr.exp: print assign_arr_input.u2 := (0.25,0.5,0.75)
FAIL: gdb.ada/atomic_enum.exp: ptype pck.data_flag
FAIL: gdb.ada/bp_c_mixed_case.exp: p <MixedCaseFunc>, in Ada
FAIL: gdb.ada/call_pn.exp: print last_node_id before calling pn
FAIL: gdb.ada/call_pn.exp: print pn (4321)
FAIL: gdb.ada/call_pn.exp: print last_node_id after calling pn
FAIL: gdb.ada/char_param.exp: print procedure_result before calling same
FAIL: gdb.ada/char_param.exp: print procedure_result after calling same
FAIL: gdb.ada/char_param.exp: call next
FAIL: gdb.ada/char_param.exp: print procedure_result after calling next
FAIL: gdb.ada/complete.exp: p <Exported_Capitalized>
FAIL: gdb.ada/exec_changed.exp: start second
FAIL: gdb.ada/exec_changed.exp: start just first
FAIL: gdb.ada/expr_with_funcall.exp: print something()
FAIL: gdb.ada/expr_with_funcall.exp: print something() + 1
FAIL: gdb.ada/expr_with_funcall.exp: print something() - 2
FAIL: gdb.ada/expr_with_funcall.exp: print something() * 3
FAIL: gdb.ada/expr_with_funcall.exp: print something() / 4
FAIL: gdb.ada/expr_with_funcall.exp: print 1 + something()
FAIL: gdb.ada/expr_with_funcall.exp: print 246 - something()
FAIL: gdb.ada/expr_with_funcall.exp: print 3 * something()
FAIL: gdb.ada/expr_with_funcall.exp: print 496 / something()
FAIL: gdb.ada/expr_with_funcall.exp: print something
FAIL: gdb.ada/expr_with_funcall.exp: print something + 1
FAIL: gdb.ada/expr_with_funcall.exp: print something - 2
FAIL: gdb.ada/expr_with_funcall.exp: print something * 3
FAIL: gdb.ada/expr_with_funcall.exp: print something / 4
FAIL: gdb.ada/expr_with_funcall.exp: print 1 + something
FAIL: gdb.ada/expr_with_funcall.exp: print 246 - something
FAIL: gdb.ada/expr_with_funcall.exp: print 3 * something
FAIL: gdb.ada/expr_with_funcall.exp: print 496 / something
FAIL: gdb.ada/float_param.exp: call set_float(2.0)
FAIL: gdb.ada/float_param.exp: print global_float
FAIL: gdb.ada/float_param.exp: call set_double(1, 3.0)
FAIL: gdb.ada/float_param.exp: print global_double
FAIL: gdb.ada/float_param.exp: call set_long_double(1, global_small_struct,
4.0)
FAIL: gdb.ada/float_param.exp: print global_long_double
FAIL: gdb.ada/fun_renaming.exp: print fun_rename_test_next(1)
FAIL: gdb.ada/funcall_param.exp: p ident (ident (my_parameter))
FAIL: gdb.ada/funcall_ptr.exp: Check that initial value of GA is null
FAIL: gdb.ada/funcall_ptr.exp: call pck.p(0x1234)
FAIL: gdb.ada/funcall_ptr.exp: Check that value of GA is 0x1234
FAIL: gdb.ada/info_addr_mixed_case.exp: info address my_table
FAIL: gdb.ada/info_addr_mixed_case.exp: info address My_Table
FAIL: gdb.ada/info_addr_mixed_case.exp: info address pck.my_table
FAIL: gdb.ada/info_addr_mixed_case.exp: info address Pck.My_Table
FAIL: gdb.ada/interface.exp: print s
FAIL: gdb.ada/iwide.exp: print My_Drawable
FAIL: gdb.ada/iwide.exp: print s_access.all
FAIL: gdb.ada/iwide.exp: print sp_access.all
FAIL: gdb.ada/iwide.exp: print d_access.all
FAIL: gdb.ada/iwide.exp: print dp_access.all
FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output)
FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output)
FAIL: gdb.ada/minsyms.exp: print integer(some_minsym)
FAIL: gdb.ada/minsyms.exp: print &some_minsym
FAIL: gdb.ada/minsyms.exp: print /x integer(&some_minsym)
FAIL: gdb.ada/notcplusplus.exp: print <symada__cS> before loading symbols from
ver.ads
FAIL: gdb.ada/ptype_array.exp: ptype 2..5
FAIL: gdb.ada/ptype_array.exp: ptype 3..5
FAIL: gdb.ada/ptype_tagged_param.exp: ptype s
FAIL: gdb.ada/ptype_union.exp: ptype global
FAIL: gdb.ada/ptype_union.exp: print global
FAIL: gdb.ada/rec_return.exp: print bar
FAIL: gdb.ada/rename_subscript_param.exp: print rename_subscript_param_b before
changing its value
FAIL: gdb.ada/rename_subscript_param.exp: print rename_subscript_param_b after
changing its value
FAIL: gdb.ada/same_enum.exp: print red
FAIL: gdb.ada/str_ref_cmp.exp: print String_Var (1 .. 3) = "Hel"
FAIL: gdb.ada/str_ref_cmp.exp: print String_Var (1 .. 3) = "hel"
FAIL: gdb.ada/sym_print_name.exp: multiple matches for symbol integervar
FAIL: gdb.ada/taft_type.exp: print w.e.all
FAIL: gdb.ada/tagged.exp: ptype obj
FAIL: gdb.ada/tagged.exp: print obj
FAIL: gdb.ada/tagged_access.exp: ptype c.all
FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name
FAIL: gdb.ada/var_rec_arr.exp: print a1
FAIL: gdb.ada/var_rec_arr.exp: print a1(1)
FAIL: gdb.ada/var_rec_arr.exp: print a1(2)
FAIL: gdb.ada/var_rec_arr.exp: print a1(3)
FAIL: gdb.ada/var_rec_arr.exp: print a2
FAIL: gdb.ada/var_rec_arr.exp: print a2(1)
FAIL: gdb.ada/var_rec_arr.exp: print a2(2)
FAIL: gdb.ada/var_rec_arr.exp: print a2(3)
FAIL: gdb.ada/var_rec_arr.exp: ptype a1(1)
FAIL: gdb.ada/watch_minus_l.exp: watch -location pck.global_var
FAIL: gdb.ada/watch_minus_l.exp: continue with watch -location (the program
exited)
FAIL: gdb.arch/amd64-entry-value-paramref.exp: continue to breakpoint:
break-here (the program exited)
FAIL: gdb.arch/amd64-entry-value-paramref.exp: frame
FAIL: gdb.arch/amd64-entry-value.exp: disassemble
FAIL: gdb.arch/amd64-tailcall-self.exp: bt
FAIL: gdb.base/index-cache.exp: test_cache_enabled_miss: at least one file was
created
FAIL: gdb.base/index-cache.exp: test_cache_enabled_miss: expected file is there
FAIL: gdb.base/index-cache.exp: test_cache_enabled_miss: check index-cache
stats
FAIL: gdb.base/index-cache.exp: test_cache_enabled_hit: check index-cache stats
FAIL: gdb.base/info-fun.exp: NO: info fun foo
FAIL: gdb.base/info-fun.exp: IN: info fun foo
FAIL: gdb.base/info-fun.exp: SEP: info fun foo
FAIL: gdb.base/info_minsym.exp: minsym functions found
FAIL: gdb.base/jit-so.exp: one_jit_test-1: info function jit_function
FAIL: gdb.base/jit-so.exp: one_jit_test-2: info function jit_function
FAIL: gdb.base/jit.exp: one_jit_test-1: info function ^jit_function
FAIL: gdb.base/jit.exp: one_jit_test-2: info function ^jit_function
FAIL: gdb.base/jit.exp: attach: one_jit_test-2: info function ^jit_function
FAIL: gdb.base/jit.exp: PIE: one_jit_test-1: info function ^jit_function
FAIL: gdb.base/list-ambiguous.exp: list ambiguous_fun
FAIL: gdb.base/list-ambiguous.exp: list main,ambiguous_fun
FAIL: gdb.base/list-ambiguous.exp: list ,ambiguous_fun
FAIL: gdb.base/list-ambiguous.exp: list ambiguous_fun,main
FAIL: gdb.base/list-ambiguous.exp: list ambiguous_fun,ambiguous_fun
FAIL: gdb.base/list-ambiguous.exp: list ambiguous_fun,
FAIL: gdb.base/list-ambiguous.exp: edit ambiguous_fun (timeout)
FAIL: gdb.base/list-ambiguous.exp: list ambiguous_var (timeout)
FAIL: gdb.base/list-ambiguous.exp: list main,ambiguous_var (timeout)
FAIL: gdb.base/list-ambiguous.exp: list ,ambiguous_var (timeout)
FAIL: gdb.base/list-ambiguous.exp: list ambiguous_var,main (timeout)
FAIL: gdb.base/list-ambiguous.exp: list ambiguous_var,ambiguous_var (timeout)
FAIL: gdb.base/list-ambiguous.exp: list ambiguous_var, (timeout)
FAIL: gdb.base/list-ambiguous.exp: edit ambiguous_var (timeout)
FAIL: gdb.base/maint.exp: mt expand-symtabs
FAIL: gdb.base/maint.exp: maint print objfiles: psymtabs
FAIL: gdb.base/maint.exp: maint print psymbols -source
FAIL: gdb.base/maint.exp: maint print psymbols -pc
FAIL: gdb.base/maint.exp: maint info line-table with filename of symtab that is
not currently expanded
FAIL: gdb.base/msym-lang.exp: info func foo
FAIL: gdb.base/nodebug.exp: func: ada: set language ada
FAIL: gdb.base/relocate.exp: symbol-file with offset
FAIL: gdb.base/relocate.exp: add-symbol-file with offset
FAIL: gdb.base/relocate.exp: add-symbol-file with offset, text address given
FAIL: gdb.base/relocate.exp: add-symbol-file with offset, data address given
FAIL: gdb.base/reread.exp: opts= "" "" : run to foo() second time
FAIL: gdb.base/reread.exp: opts= "" "" : second pass: run to foo() second time
FAIL: gdb.base/reread.exp: opts= "-fPIE" "ldflags=-pie" : run to foo() second
time
FAIL: gdb.base/reread.exp: opts= "-fPIE" "ldflags=-pie" : second pass: run to
foo() second time
FAIL: gdb.base/style.exp: filename is styled when loading symbol file
FAIL: gdb.compile/compile-ifunc.exp: nodebug: set language c
FAIL: gdb.cp/nsalias.exp: compaint for too many recursively imported
declarations
FAIL: gdb.cp/psymtab-parameter.exp: maintenance info symtabs
FAIL: gdb.dwarf2/ada-valprint-error.exp: print fd.global
FAIL: gdb.dwarf2/arr-stride.exp: ptype pck.table
FAIL: gdb.dwarf2/arr-stride.exp: ptype pck.big_table
FAIL: gdb.dwarf2/arr-subrange.exp: ptype pck.table
FAIL: gdb.dwarf2/data-loc.exp: set language ada
FAIL: gdb.dwarf2/data-loc.exp: print foo.three
FAIL: gdb.dwarf2/data-loc.exp: ptype foo.three
FAIL: gdb.dwarf2/data-loc.exp: print foo.three(1)
FAIL: gdb.dwarf2/data-loc.exp: print foo.three(2)
FAIL: gdb.dwarf2/data-loc.exp: print foo.three(3)
FAIL: gdb.dwarf2/data-loc.exp: print foo.three'first
FAIL: gdb.dwarf2/data-loc.exp: print foo.three'last
FAIL: gdb.dwarf2/data-loc.exp: print foo.three'length
FAIL: gdb.dwarf2/data-loc.exp: print foo.three_tdef
FAIL: gdb.dwarf2/data-loc.exp: ptype foo.three_tdef
FAIL: gdb.dwarf2/data-loc.exp: print foo.three_tdef(1)
FAIL: gdb.dwarf2/data-loc.exp: print foo.three_tdef(2)
FAIL: gdb.dwarf2/data-loc.exp: print foo.three_tdef(3)
FAIL: gdb.dwarf2/data-loc.exp: print foo.three_tdef'first
FAIL: gdb.dwarf2/data-loc.exp: print foo.three_tdef'last
FAIL: gdb.dwarf2/data-loc.exp: print foo.three_tdef'length
FAIL: gdb.dwarf2/data-loc.exp: print foo.five
FAIL: gdb.dwarf2/data-loc.exp: ptype foo.five
FAIL: gdb.dwarf2/data-loc.exp: ptype foo.array_type
FAIL: gdb.dwarf2/data-loc.exp: print foo.five(2)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five(3)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five(4)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five(5)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five(6)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five'first
FAIL: gdb.dwarf2/data-loc.exp: print foo.five'last
FAIL: gdb.dwarf2/data-loc.exp: print foo.five'length
FAIL: gdb.dwarf2/data-loc.exp: print foo.five_tdef
FAIL: gdb.dwarf2/data-loc.exp: ptype foo.five_tdef
FAIL: gdb.dwarf2/data-loc.exp: ptype foo.array_type
FAIL: gdb.dwarf2/data-loc.exp: print foo.five_tdef(2)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five_tdef(3)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five_tdef(4)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five_tdef(5)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five_tdef(6)
FAIL: gdb.dwarf2/data-loc.exp: print foo.five_tdef'first
FAIL: gdb.dwarf2/data-loc.exp: print foo.five_tdef'last
FAIL: gdb.dwarf2/data-loc.exp: print foo.five_tdef'length
FAIL: gdb.dwarf2/dw2-align.exp: set lang c++
FAIL: gdb.dwarf2/dw2-error.exp: break main
FAIL: gdb.dwarf2/dw2-filename.exp: info sources
FAIL: gdb.dwarf2/dw2-ranges-base.exp: info line main
FAIL: gdb.dwarf2/dw2-ranges-base.exp: info line frame2
FAIL: gdb.dwarf2/dw2-ranges-base.exp: info line frame3
FAIL: gdb.dwarf2/dw2-ranges-func.exp: disassemble foo (pattern 2)
FAIL: gdb.dwarf2/dw2-stack-boundary.exp: check partial symtab errors
FAIL: gdb.dwarf2/dynarr-ptr.exp: set language ada
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr.all
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr.all(1)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr.all(2)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr.all(3)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr.all'first
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr.all'last
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr.all'length
FAIL: gdb.dwarf2/dynarr-ptr.exp: ptype foo.three_ptr.all
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr(1)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr(2)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr(3)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr'first
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr'last
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr'length
FAIL: gdb.dwarf2/dynarr-ptr.exp: ptype foo.three_ptr
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef.all
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef.all(1)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef.all(2)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef.all(3)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef.all'first
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef.all'last
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef.all'length
FAIL: gdb.dwarf2/dynarr-ptr.exp: ptype foo.three_ptr_tdef.all
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef(1)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef(2)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef(3)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef'first
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef'last
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.three_ptr_tdef'length
FAIL: gdb.dwarf2/dynarr-ptr.exp: ptype foo.three_ptr_tdef
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr.all
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr.all(2)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr.all(3)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr.all(4)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr.all(5)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr.all(6)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr.all'first
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr.all'last
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr.all'length
FAIL: gdb.dwarf2/dynarr-ptr.exp: ptype foo.five_ptr.all
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr(2)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr(3)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr(4)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr(5)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr(6)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr'first
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr'last
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr'length
FAIL: gdb.dwarf2/dynarr-ptr.exp: ptype foo.five_ptr
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef.all
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef.all(2)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef.all(3)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef.all(4)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef.all(5)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef.all(6)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef.all'first
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef.all'last
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef.all'length
FAIL: gdb.dwarf2/dynarr-ptr.exp: ptype foo.five_ptr_tdef.all
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef(2)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef(3)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef(4)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef(5)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef(6)
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef'first
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef'last
FAIL: gdb.dwarf2/dynarr-ptr.exp: print foo.five_ptr_tdef'length
FAIL: gdb.dwarf2/dynarr-ptr.exp: ptype foo.five_ptr_tdef
FAIL: gdb.dwarf2/implptr-64bit.exp: d2o8a4r4t0
FAIL: gdb.dwarf2/implptr-64bit.exp: d2o4a8r8t0
FAIL: gdb.dwarf2/implptr-64bit.exp: d3o8a4r8t0
FAIL: gdb.dwarf2/implptr-64bit.exp: d3o4a8r4t0
FAIL: gdb.dwarf2/implptr-64bit.exp: d2o8a4r4t1
FAIL: gdb.dwarf2/implptr-64bit.exp: d2o4a8r8t1
FAIL: gdb.dwarf2/implptr-64bit.exp: d3o8a4r8t1
FAIL: gdb.dwarf2/implptr-64bit.exp: d3o4a8r4t1
FAIL: gdb.dwarf2/nonvar-access.exp: print/x def_implicit_s
FAIL: gdb.dwarf2/nonvar-access.exp: print/x def_implicit_s.b
FAIL: gdb.dwarf2/nonvar-access.exp: print/x def_implicit_a
FAIL: gdb.dwarf2/nonvar-access.exp: print/x def_implicit_a[5]
FAIL: gdb.dwarf2/nonvar-access.exp: print/x *(char (*)[5]) implicit_a_ptr
FAIL: gdb.dwarf2/nonvar-access.exp: print def_stack_b
FAIL: gdb.dwarf2/nonvar-access.exp: print/x *implicit_b_ptr
FAIL: gdb.dwarf2/nonvar-access.exp: print def_s
FAIL: gdb.dwarf2/nonvar-access.exp: print/x part_def_a[4]
FAIL: gdb.dwarf2/nonvar-access.exp: print/x part_def_a[8]
FAIL: gdb.dwarf2/nonvar-access.exp: print def_t
FAIL: gdb.dwarf2/nonvar-access.exp: print undef_int
FAIL: gdb.dwarf2/nonvar-access.exp: print undef_s.a
FAIL: gdb.dwarf2/varval.exp: print varval2
FAIL: gdb.gdb/complaints.exp: breakpoint in captured_command_loop
FAIL: gdb.gdb/complaints.exp: run until breakpoint at captured_command_loop
FAIL: gdb.gdb/python-interrupts.exp: breakpoint in captured_command_loop
FAIL: gdb.gdb/python-interrupts.exp: run until breakpoint at
captured_command_loop
FAIL: gdb.gdb/python-selftest.exp: breakpoint in captured_command_loop
FAIL: gdb.gdb/python-selftest.exp: run until breakpoint at
captured_command_loop
FAIL: gdb.gdb/selftest.exp: breakpoint in captured_main
FAIL: gdb.gdb/selftest.exp: run until breakpoint at captured_main
FAIL: gdb.linespec/skip-two.exp: dupname ignored from main
FAIL: gdb.linespec/skip-two.exp: dupname ignored from n
FAIL: gdb.multi/remove-inferiors.exp: load binary
FAIL: gdb.threads/tls.exp: print a_thread_local
...

There will be false positives, but PR24517 makes me suspect that there will
also be real problems.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/24521] readnow failures

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24521

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Submitted RFC for new target board running tests with -readnow on by default:
"[RFC][gdb/testsuite] Add readnow.exp" (
https://sourceware.org/ml/gdb-patches/2019-05/msg00073.html ).

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/24521] readnow failures

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24521

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #0)
> FAIL: gdb.linespec/skip-two.exp: dupname ignored from main
> FAIL: gdb.linespec/skip-two.exp: dupname ignored from n

Filed as PR24666 - "skip function broken with -readnow".

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug testsuite/24521] readnow failures

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24521

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|gdb                         |testsuite

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug testsuite/24521] readnow failures

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24521

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <[hidden email]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8c2e74f18120dd2f2da7d653466c79dea6841b5e

commit 8c2e74f18120dd2f2da7d653466c79dea6841b5e
Author: Tom de Vries <[hidden email]>
Date:   Tue Jun 11 13:22:27 2019 +0200

    [gdb/testsuite] Fix main high_pc in nonvar-access.exp

    When running gdb.dwarf2/nonvar-access.exp with board readnow, we have:
    ...
    FAIL: gdb.dwarf2/nonvar-access.exp: print/x def_implicit_s
    ...
    and 12 more similar failures.

    I've tracked this down to the range of main being hardcoded to
    [_main, _main+0x10000) in the dwarf assembly:
    ...
                DW_TAG_subprogram {
                    {name main}
                    {DW_AT_external 1 flag}
                    {low_pc [gdb_target_symbol main] DW_FORM_addr}
                {high_pc [gdb_target_symbol main]+0x10000 DW_FORM_addr}
                } {
    ...
    which overlaps with the .debug_info for the elf-init.c CU (containing
    __libc_csu_init and __libc_csu_fini).

    Fix this by using function_range to find the actual range of main.

    Tested on x86_64-linux.

    gdb/testsuite/ChangeLog:

    2019-06-11  Tom de Vries  <[hidden email]>

        PR testsuite/24521
        * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug testsuite/24521] readnow failures

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24521

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <[hidden email]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fea82da0fe15137fda0056c0f0b92b6e70997ea8

commit fea82da0fe15137fda0056c0f0b92b6e70997ea8
Author: Tom de Vries <[hidden email]>
Date:   Tue Jun 11 13:54:10 2019 +0200

    [gdb/testsuite] Fix remove-inferiors.exp FAIL with readnow board

    We see this failure with the readnow board:
    ...
    FAIL: gdb.multi/remove-inferiors.exp: load binary
    ...

    When running with board readnow, an extra message "Expanding full symbols"
is
    emitted after the "Reading symbols" message, and the regexp corresponding
to
    the FAIL only allows the first message.

    Fix this by allowing the extra message in the regexp.

    gdb/testsuite/ChangeLog:

    2019-06-11  Tom de Vries  <[hidden email]>

        PR testsuite/24521
        * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
        message.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug testsuite/24521] readnow failures

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24521

--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
> FAIL: gdb.base/index-cache.exp: test_cache_enabled_miss: at least one file
> was created
> FAIL: gdb.base/index-cache.exp: test_cache_enabled_miss: expected file is
> there
> FAIL: gdb.base/index-cache.exp: test_cache_enabled_miss: check index-cache
> stats
> FAIL: gdb.base/index-cache.exp: test_cache_enabled_hit: check index-cache
> stats

Filed PR24669 - "index-cache.exp FAILs with -readnow".

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug testsuite/24521] readnow failures

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24521

--- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #0)
> FAIL: gdb.arch/amd64-entry-value.exp: disassemble

PR24670 - "mangled/demangled name inconsistency with -readnow"

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug testsuite/24521] readnow failures

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24521

--- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> ---
Filed gdb.ada FAILs as PR24671 - '[ada] printing FAILs with "has unknown type"
when using -readnow'.

--
You are receiving this mail because:
You are on the CC list for the bug.