GDB/testsuite: Add `-nonl' option to `gdb_test'
authorMaciej W. Rozycki <macro@embecosm.com>
Fri, 10 Feb 2023 23:49:19 +0000 (23:49 +0000)
committerMaciej W. Rozycki <macro@embecosm.com>
Fri, 10 Feb 2023 23:49:19 +0000 (23:49 +0000)
commita2fb245a4b81ffdc93a9c6e9ceddbfb323ac9bec
tree5b2dd75b0bf48ff07b8fff525278ffd565e1f011
parentaaab5fce4f25e0d3b1a85edc7d6ac8f7d06f599c
GDB/testsuite: Add `-nonl' option to `gdb_test'

Add a `-nonl' option to `gdb_test' making it possible to match output
from commands such as `output' that do not produce a new line sequence
at the end, e.g.:

  (gdb) output 0
  0(gdb)
gdb/testsuite/lib/gdb.exp