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:
Tom Tromey
2023-07-18 10:45:14 -06:00
parent 386d30593e
commit 83f362cf8f
4 changed files with 0 additions and 35 deletions

View File

@@ -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;