diff options
author | Tom Tromey <tromey@adacore.com> | 2023-08-07 06:35:51 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-09-05 11:03:00 -0600 |
commit | 84914f598e5d48b78243b7e523804a28a4baf1eb (patch) | |
tree | 6e94a4e9e76cd3e358c051df710dc6a63ebb6922 /gdb/testsuite/gdb.python/python.c | |
parent | cf1eca3cbbfe8b2092d867023df7dac4d00fa4ec (diff) | |
download | binutils-84914f598e5d48b78243b7e523804a28a4baf1eb.zip binutils-84914f598e5d48b78243b7e523804a28a4baf1eb.tar.gz binutils-84914f598e5d48b78243b7e523804a28a4baf1eb.tar.bz2 |
Introduce type::is_array_like and value_to_array
This adds the type::is_array_like method and the value_to_array
function.
The former can be used to see whether a given type is known to be
"array-like". This is the currently the case for certain
compiler-generated structure types; in particular both the Ada and
Rust compilers do this.
Diffstat (limited to 'gdb/testsuite/gdb.python/python.c')
0 files changed, 0 insertions, 0 deletions