diff mbox

symtab.c (domain_name) <MODULE_DOMAIN>: Add missing case.

Message ID m3fvcm14ee.fsf@seba.sebabeach.org
State New
Headers show

Commit Message

Doug Evans Dec. 11, 2014, 5:29 p.m. UTC
Hi.

I happened to notice this while reading the code.

2014-12-11  Doug Evans  <xdje42@gmail.com>

	* symtab.c (domain_name) <MODULE_DOMAIN>: Add missing case.
diff mbox

Patch

diff --git a/gdb/symtab.c b/gdb/symtab.c
index c07b902..483667d 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -157,6 +157,7 @@  domain_name (domain_enum e)
     case UNDEF_DOMAIN: return "UNDEF_DOMAIN";
     case VAR_DOMAIN: return "VAR_DOMAIN";
     case STRUCT_DOMAIN: return "STRUCT_DOMAIN";
+    case MODULE_DOMAIN: return "MODULE_DOMAIN";
     case LABEL_DOMAIN: return "LABEL_DOMAIN";
     case COMMON_BLOCK_DOMAIN: return "COMMON_BLOCK_DOMAIN";
     default: gdb_assert_not_reached ("bad domain_enum");