diff options
Diffstat (limited to 'gdb/nlmread.c')
-rw-r--r-- | gdb/nlmread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nlmread.c b/gdb/nlmread.c index 10af4c5..4e9c87d 100644 --- a/gdb/nlmread.c +++ b/gdb/nlmread.c @@ -200,7 +200,7 @@ nlm_symfile_read (struct objfile *objfile, int mainline) stabsect_build_psymtabs (objfile, mainline, ".stab", ".stabstr", ".text"); - mainsym = lookup_symbol (main_name (), NULL, VAR_NAMESPACE, NULL, NULL); + mainsym = lookup_symbol (main_name (), NULL, VAR_DOMAIN, NULL, NULL); if (mainsym && SYMBOL_CLASS (mainsym) == LOC_BLOCK) |