GDB/testsuite: Add coverage for `print -elements' command
authorMaciej W. Rozycki <macro@embecosm.com>
Thu, 7 Jul 2022 11:00:18 +0000 (12:00 +0100)
committerMaciej W. Rozycki <macro@embecosm.com>
Thu, 7 Jul 2022 11:00:18 +0000 (12:00 +0100)
commit309e147fbd26a433ec3a1e2cd346633bb615de29
tree0081a7bf8cd62b113a8a834be69870d1aa7ca065
parent88de583569400f6c81caa6f943d1290d134ea48a
GDB/testsuite: Add coverage for `print -elements' command

We currently have no coverage for the `print -elements ...' command (or
`p -elements ...' in the shortened form), so add a couple of test cases
mimicking ones using corresponding `set print elements ...' values.
gdb/testsuite/gdb.base/printcmds.exp