Use builtin type when appropriate
authorTom Tromey <tom@tromey.com>
Sat, 11 Mar 2023 16:37:15 +0000 (09:37 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 18 Mar 2023 17:12:38 +0000 (11:12 -0600)
commit426e5b66a738f4de185410a3e47a61423e0a7bdf
treecdd4cf12f4152688f4d46a7841d2ec27e3c90632
parent526648585ca87251acdda0a271f7c4b4591231ae
Use builtin type when appropriate

There are a few spots that check whether a type is objfile-owned, and
then choose either the objfile- or arch-specific builtin type.  I
don't think there is a need to do this any more (if there ever was),
because it is ok for an objfile-allocated type to refer to an
arch-allocated type.

Reviewed-By: Simon Marchi <simon.marchi@efficios.com>
gdb/compile/compile-c-types.c
gdb/compile/compile-cplus-types.c
gdb/gdbtypes.c