aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 36e744f..02c7e31 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -2361,8 +2361,8 @@ cp_set_block_scope (const struct symbol *symbol,
const char *name = symbol->demangled_name ();
unsigned int prefix_len = cp_entire_prefix_len (name);
- block_set_scope (block, obstack_strndup (obstack, name, prefix_len),
- obstack);
+ block->set_scope (obstack_strndup (obstack, name, prefix_len),
+ obstack);
}
}