Don't allow NULL as an argument to block_scope
authorTom Tromey <tom@tromey.com>
Fri, 20 Jan 2023 00:37:15 +0000 (17:37 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 19 Feb 2023 19:51:05 +0000 (12:51 -0700)
commit683aecac8c37c11d63203c96455a3d9ecf50bbe9
treeb6cce224a94fc1f196666c310bfc921705324ca6
parentf52688890edd7c587ec11cf1d565f235e41a6c43
Don't allow NULL as an argument to block_scope

block_scope has special behavior when the block is NULL.
Remove this and patch up the callers instead.
gdb/d-namespace.c
gdb/rust-lang.h
gdb/rust-parse.c