Add `set print array-indexes' tests for C/C++ arrays
authorMaciej W. Rozycki <macro@embecosm.com>
Wed, 19 Jan 2022 21:55:10 +0000 (21:55 +0000)
committerMaciej W. Rozycki <macro@embecosm.com>
Wed, 19 Jan 2022 21:55:10 +0000 (21:55 +0000)
commit101d68a9fa75173b0bb5ab8b3cdd5d94e44d1a2f
tree045c921c367594c5c61234eff8b88b73ae9b0900
parent5d4c63a635546c77bfa7ebabf944cb1d93f5c6fe
Add `set print array-indexes' tests for C/C++ arrays

Add `set print array-indexes' tests for C/C++ arrays, complementing one
for Fortran arrays.
gdb/testsuite/gdb.base/array-indices.exp [new file with mode: 0644]
gdb/testsuite/gdb.base/array-indices.exp.tcl [new file with mode: 0644]
gdb/testsuite/gdb.cp/array-indices.exp [new file with mode: 0644]