* dwarf2-frame.c (dwarf2_frame_find_quirks): Use producer_is_realview.
authorDaniel Jacobowitz <drow@false.org>
Wed, 24 Mar 2010 21:06:33 +0000 (21:06 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 24 Mar 2010 21:06:33 +0000 (21:06 +0000)
commita6c727b2f1c9804ca95ebc61de518246d03abb37
tree6ba99723ff001306b83dbd7a030dbd4a2835505f
parent0d39a07082291dc1bfc36568ea6a60a78739db41
* 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.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2read.c
gdb/symtab.c
gdb/symtab.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/callfuncs.exp
gdb/testsuite/gdb.base/ptype.exp