aboutsummaryrefslogtreecommitdiff
path: root/gprofng
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2024-06-24 18:45:37 +0200
committerHannes Domani <ssbssa@yahoo.de>2024-06-24 18:45:37 +0200
commit5ae5974d60378fa3faecff64725e00c8695bcc7d (patch)
tree8b78e488803dfc72e650ec3bab61e030fcf069bb /gprofng
parenta6e529673a95670a9c3046c3681fe6864b2cd05c (diff)
downloadbinutils-5ae5974d60378fa3faecff64725e00c8695bcc7d.zip
binutils-5ae5974d60378fa3faecff64725e00c8695bcc7d.tar.gz
binutils-5ae5974d60378fa3faecff64725e00c8695bcc7d.tar.bz2
Fix gdb.lookup_type for function-local types
Looking for a type defined locally in a function doesn't work any more since the introduction of TYPE_DOMAIN: ``` (gdb) python print (gdb.lookup_type ('main()::Local')) Python Exception <class 'gdb.error'>: No type named main()::Local. Error occurred in Python: No type named main()::Local. ``` cp_search_static_and_baseclasses was simply missing a check for SEARCH_TYPE_DOMAIN, now it works again: ``` (gdb) python print (gdb.lookup_type ('main()::Local')) Local ``` Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31922 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gprofng')
0 files changed, 0 insertions, 0 deletions