[gdb/testsuite] Simplify gdb.base/info-types.exp.tcl
authorTom de Vries <tdevries@suse.de>
Mon, 7 Jun 2021 12:33:51 +0000 (14:33 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 7 Jun 2021 12:33:51 +0000 (14:33 +0200)
commit409cac34d9328d81ff7d17a51707e7898a7be960
tree1463460d0b5bc7750a6d5e1643d5ad3991d40b0b
parentbc37aacde189cbebffd06b5459b239a0407de396
[gdb/testsuite] Simplify gdb.base/info-types.exp.tcl

The regexp matching state machine in gdb.base/info-types.exp.tcl handles
"File .*:" lines individually.  Now that we do line-by-line matching, that's
no longer necessary.

Simplify accordingly.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2021-06-07  Tom de Vries  <tdevries@suse.de>

* gdb.base/info-types.exp.tcl: Remove "File .*" matching from regexp
matching state machine.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/info-types.exp.tcl