aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-17 06:39:07 -0700
committerTom Tromey <tom@tromey.com>2023-02-19 12:51:06 -0700
commitcade9c8a459e4fd2f8a781eed21991e2487f90ee (patch)
treeaa9213b9d2d4ebc35a0a42e0cf986aacaeebac7a /gdb/jit.c
parentd24e14a0c62181b49f513f6ed3704212fd276c79 (diff)
downloadgdb-cade9c8a459e4fd2f8a781eed21991e2487f90ee.zip
gdb-cade9c8a459e4fd2f8a781eed21991e2487f90ee.tar.gz
gdb-cade9c8a459e4fd2f8a781eed21991e2487f90ee.tar.bz2
Convert set_block_compunit_symtab to method
This converts set_block_compunit_symtab to be a method. This was mostly written by script.
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index 48bfef0..f584438 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -623,7 +623,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
bv->set_block (i, new_block);
if (i == GLOBAL_BLOCK)
- set_block_compunit_symtab (new_block, cust);
+ new_block->set_compunit_symtab (cust);
}
/* Fill up the superblock fields for the real blocks, using the