aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.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/buildsym.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/buildsym.c')
-rw-r--r--gdb/buildsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index adc554e..b76fef3 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -971,7 +971,7 @@ buildsym_compunit::end_compunit_symtab_with_blockvector
{
struct block *b = blockvector->global_block ();
- set_block_compunit_symtab (b, cu);
+ b->set_compunit_symtab (cu);
}
cu->set_macro_table (release_macros ());