]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Don't allow NULL as an argument to block_global_block
authorTom Tromey <tom@tromey.com>
Fri, 20 Jan 2023 00:22:04 +0000 (17:22 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 19 Feb 2023 19:51:05 +0000 (12:51 -0700)
commit8f14fd112036be4300c81492a4659d518d9caf24
tree9b9b2cb7ebf975dbc476fc0f543fb06aa18e7c1c
parent780040961370cb7a9849b83553f03bf7d2f0f9df
Don't allow NULL as an argument to block_global_block

block_global_block has special behavior when the block is NULL.
Remove this and patch up the callers instead.
gdb/block.c
gdb/cp-support.c
gdb/symtab.c