From: Tom Tromey Date: Mon, 20 Jan 2025 18:02:51 +0000 (-0700) Subject: Show type- and function-domain in maint print psymbols X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47df9f43ef4c31a56252aeaaaae283c8b5b7ee72;p=thirdparty%2Fbinutils-gdb.git 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 --- diff --git a/gdb/psymtab.c b/gdb/psymtab.c index e92125dae67..ef7fa23079b 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -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 (", ", outfile); break;