]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Only search types in lookup_typename
authorTom Tromey <tom@tromey.com>
Tue, 19 Sep 2023 23:46:38 +0000 (17:46 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 28 Jan 2024 17:58:17 +0000 (10:58 -0700)
commit9edce54e75b119e40d18a4564cd65cd747802c9c
tree3612e2992073a54ccab1f3e11f271ba4e0f57dec
parent033bc67bdb0c74d1c63a1998a7e9679a408ba6e4
Only search types in lookup_typename

This changes lookup_typename to only look for types.  The check for
LOC_TYPEDEF can now also be removed, because only types will appear in
TYPE_DOMAIN.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=24870
gdb/gdbtypes.c