diff options
author | Tom Tromey <tom@tromey.com> | 2025-01-20 11:02:51 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-01-31 17:27:21 -0700 |
commit | 47df9f43ef4c31a56252aeaaaae283c8b5b7ee72 (patch) | |
tree | 751863c96a5842419b8398ef6cb97271c835fba9 | |
parent | 07040558e693042b97c3b1f054974e80079c2f13 (diff) | |
download | gdb-47df9f43ef4c31a56252aeaaaae283c8b5b7ee72.zip gdb-47df9f43ef4c31a56252aeaaaae283c8b5b7ee72.tar.gz gdb-47df9f43ef4c31a56252aeaaaae283c8b5b7ee72.tar.bz2 |
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>
-rw-r--r-- | gdb/psymtab.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 ("<invalid domain>, ", outfile); break; |