forked from Imagelibrary/binutils-gdb
Remove ancient Ada workaround
I ran across this very old code in gdb's Ada support. After a bit of archaeology, we couldn't determine what bug this might have been working around. It is no longer needed, so this patch removes it. As this is entirely Ada-specific and was reviewed and tested at AdaCore, I'm checking it in.
This commit is contained in:
@@ -1065,9 +1065,6 @@ ada_print_type (struct type *type0, const char *varstring,
|
||||
case TYPE_CODE_STRUCT:
|
||||
if (ada_is_array_descriptor_type (type))
|
||||
print_array_type (type, stream, show, level, flags);
|
||||
else if (ada_is_bogus_array_descriptor (type))
|
||||
gdb_printf (stream,
|
||||
_("array (?) of ? (<mal-formed descriptor>)"));
|
||||
else
|
||||
print_record_type (type, stream, show, level, flags);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user