diff options
author | Daniel Jacobowitz <drow@false.org> | 2010-03-24 21:06:33 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2010-03-24 21:06:33 +0000 |
commit | a6c727b2f1c9804ca95ebc61de518246d03abb37 (patch) | |
tree | 6ba99723ff001306b83dbd7a030dbd4a2835505f /gdb/testsuite/gdb.base/callfuncs.exp | |
parent | 0d39a07082291dc1bfc36568ea6a60a78739db41 (diff) | |
download | gdb-a6c727b2f1c9804ca95ebc61de518246d03abb37.zip gdb-a6c727b2f1c9804ca95ebc61de518246d03abb37.tar.gz gdb-a6c727b2f1c9804ca95ebc61de518246d03abb37.tar.bz2 |
* dwarf2-frame.c (dwarf2_frame_find_quirks): Use producer_is_realview.
* dwarf2read.c (load_full_comp_unit): Read DW_AT_producer.
(read_structure_type): For RealView, set TYPE_STUB on structures with
no byte size and no children.
(read_subroutine_type): Mark functions as prototyped by default.
* symtab.c (producer_is_realview): New function.
* symtab.h (expand_line_sal): Fix declaration formatting.
(producer_is_realview): Declare.
testsuite/
* gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
* gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
argument. Handle "short" and "long".
(Top level): Pass overprototyped output for old_fptr and xptr.
Diffstat (limited to 'gdb/testsuite/gdb.base/callfuncs.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/callfuncs.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp index 9aeb09b..2f175e0 100644 --- a/gdb/testsuite/gdb.base/callfuncs.exp +++ b/gdb/testsuite/gdb.base/callfuncs.exp @@ -129,13 +129,19 @@ proc do_function_calls {} { # Gcc emits different stabs for the two parameters; the first is # claimed to be a float, the second a double. # dbxout.c in gcc claims this is the desired behavior. + # These tests also fail for RealView, because GDB can not tell that + # the function is unprototyped. setup_xfail "mn10300-*-*" + if { [test_compiler_info "armcc-*"] } { setup_xfail "*-*-*" } gdb_test "p t_float_values(3.14159,-2.3765)" " = 1" setup_xfail "mn10300-*-*" + if { [test_compiler_info "armcc-*"] } { setup_xfail "*-*-*" } gdb_test "p t_float_values(float_val1,float_val2)" " = 1" setup_xfail "mn10300-*-*" + if { [test_compiler_info "armcc-*"] } { setup_xfail "*-*-*" } gdb_test "p t_float_values(3.14159,float_val2)" " = 1" setup_xfail "mn10300-*-*" + if { [test_compiler_info "armcc-*"] } { setup_xfail "*-*-*" } gdb_test "p t_float_values(float_val1,-2.3765)" " = 1" # Test passing of arguments which might not be widened. |