* ada-lang.c (ada_lookup_struct_elt_type): Handle case of a "naked"
authorJoel Brobecker <brobecker@gnat.com>
Tue, 30 Sep 2008 21:36:21 +0000 (21:36 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 30 Sep 2008 21:36:21 +0000 (21:36 +0000)
commitb1f33ddde15312e8d7bdf4750a443ffd7dfbbea9
treeb1f0f75a5209b4a0bf9ad5041fd75277faa0fc71
parent3d0b0fa396d73f8c06709d0c2001366d9d8d5239
    * ada-lang.c (ada_lookup_struct_elt_type): Handle case of a "naked"
        variant branch.
        (empty_record): Use INIT_CPLUS_SPECIFIC, since this field is not
        supposed to be null.  Fixes debugger segfaults.
        (is_unchecked_variant): New function.
        (to_fixed_variant_branch_type): Modify to leave unchecked unions
        untouched.
        (ada_template_to_fixed_record_type_1): Fix comment.
gdb/ChangeLog
gdb/ada-lang.c
This page took 0.040873 seconds and 4 git commands to generate.