]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use block::is_static_block in ada-lang.c
authorTom Tromey <tom@tromey.com>
Sun, 8 Dec 2024 00:28:30 +0000 (17:28 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 20 Dec 2024 17:07:03 +0000 (10:07 -0700)
commit66834f8da920eb2f2c348259046667decdcfb822
tree3a15596e4d7c84a09d3d9f31574058b8edd2927a
parentcd676397e5a7920eb0fc916bfde787dde8dea149
Use block::is_static_block in ada-lang.c

This changes one spot in ada-lang.c to use block::is_static_block
rather than a hand-rolled implementation.  Note this also fixes the
call -- what is currently written there is wrong.

Approved-By: Tom de Vries <tdevries@suse.de>
gdb/ada-lang.c