aboutsummaryrefslogtreecommitdiff
path: root/gdb/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/block.c')
-rw-r--r--gdb/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/block.c b/gdb/block.c
index 26126f5..8ae6f32 100644
--- a/gdb/block.c
+++ b/gdb/block.c
@@ -881,7 +881,7 @@ make_blockranges (struct objfile *objfile,
size_t n = rangevec.size();
blr = (struct blockranges *)
- obstack_alloc (&objfile->objfile_obstack,
+ obstack_alloc (objfile->objfile_obstack (),
sizeof (struct blockranges)
+ (n - 1) * sizeof (struct blockrange));