Show type- and function-domain in maint print psymbols

I neglected to update "maint print psymbols" when adding TYPE_DOMAIN
and FUNCTION_DOMAIN.  This would have been mildly helpful when
debugging a series I am working on.  This patch corrects the
oversight.

Approved-By: Andrew Burgess <aburgess@redhat.com>
This commit is contained in:
Tom Tromey 2025-01-20 11:02:51 -07:00
parent 07040558e6
commit 47df9f43ef

View File

@ -527,6 +527,12 @@ print_partial_symbols (struct gdbarch *gdbarch, struct objfile *objfile,
case COMMON_BLOCK_DOMAIN:
gdb_puts ("common block domain, ", outfile);
break;
case TYPE_DOMAIN:
gdb_puts ("type domain, ", outfile);
break;
case FUNCTION_DOMAIN:
gdb_puts ("function domain, ", outfile);
break;
default:
gdb_puts ("<invalid domain>, ", outfile);
break;