Add is_array_like and to_array to language_defn
authorTom Tromey <tromey@adacore.com>
Tue, 5 Sep 2023 19:08:29 +0000 (13:08 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 19 Sep 2023 19:28:42 +0000 (13:28 -0600)
commit26733fc7477ac675df9215b46bf3f3af1dd80186
treebcb9181bf1c84e5bc434a28b303a01107a59350e
parentd948c67c5d6599581e5045f03e67dc90855efc87
Add is_array_like and to_array to language_defn

This adds new is_array_like and to_array methods to language_defn.
This will be used in a subsequent patch that generalizes the new
Python array- and string-handling code.
gdb/ada-lang.c
gdb/language.h
gdb/rust-lang.h