* ada-lang.c (decode_packed_array_type): Avoid a seg fault
authorJoel Brobecker <brobecker@gnat.com>
Fri, 4 Jan 2008 20:45:05 +0000 (20:45 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 4 Jan 2008 20:45:05 +0000 (20:45 +0000)
commit727e3d2e5ca581e75f2d8707c28c5cbd7ee34bb0
treead508980930ee4377049060846486a8520f65205
parentecc7085baf3e1b677cbcaa84989cd3a48f13542d
    * ada-lang.c (decode_packed_array_type): Avoid a seg fault
        when the type is an anonymous pointer type.
        (ada_check_typedef): Avoid a seg fault when the type is null.
        * ada-typeprint.c (print_array_type): Add support for pointer
        to packed arrays.
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-typeprint.c