From 47df9f43ef4c31a56252aeaaaae283c8b5b7ee72 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 20 Jan 2025 11:02:51 -0700 Subject: 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 --- gdb/psymtab.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdb/psymtab.c b/gdb/psymtab.c index e92125d..ef7fa23 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; -- cgit v1.1