[Bug ada/24671] New: [ada] printing FAILs with "has unknown type" when using -readnow

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

[Bug ada/24671] New: [ada] printing FAILs with "has unknown type" when using -readnow

adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24671

            Bug ID: 24671
           Summary: [ada] printing FAILs with "has unknown type" when
                    using -readnow
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ada
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

Without readnow (native):
...
(gdb) run ^M
Starting program:
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.ada/access_to_packed_array/foo
^M
^M
Breakpoint 1, foo () at
/data/gdb_versions/devel/binutils-gdb.git/gdb/testsuite/gdb.ada/access_to_packed_array/foo.adb:20^M
20         Pack.Do_Nothing (Pack.AA); --  BREAK^M
(gdb) print pack.a^M
$1 = (0 => 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)^M
...

with -readnow (readnow board):
...
(gdb) run ^M
Starting program:
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.ada/access_to_packed_array/foo
^M
^M
Breakpoint 1, foo () at
/data/gdb_versions/devel/binutils-gdb.git/gdb/testsuite/gdb.ada/access_to_packed_array/foo.adb:20^M
20         Pack.Do_Nothing (Pack.AA); --  BREAK^M
(gdb) print pack.a^M
'pack.a' has unknown type; cast it to its declared type^M
...

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

[Bug ada/24671] [ada] printing FAILs with "has unknown type" when using -readnow

adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24671

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brobecker at adacore dot com,
                   |                            |tromey at sourceware dot org

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Affected test-cases:
...
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)
...

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