Convert block_static_block and block_global_block to methods
authorTom Tromey <tom@tromey.com>
Tue, 17 Jan 2023 01:14:47 +0000 (18:14 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 19 Feb 2023 19:51:06 +0000 (12:51 -0700)
commitd24e14a0c62181b49f513f6ed3704212fd276c79
tree341cbf16737b778d0a4cb71276adfe209cf4bb6c
parent99f3dfd0f94144d295885e79f4ff5a5f8119fb04
Convert block_static_block and block_global_block to methods

This converts block_static_block and block_global_block to be methods.
This was mostly written by script.  It was simpler to convert them at
the same time because they're often used near each other.
12 files changed:
gdb/ada-lang.c
gdb/block.c
gdb/block.h
gdb/compile/compile-c-symbols.c
gdb/compile/compile-cplus-symbols.c
gdb/cp-namespace.c
gdb/cp-support.c
gdb/findvar.c
gdb/guile/scm-block.c
gdb/python/py-block.c
gdb/rust-parse.c
gdb/symtab.c