[gdb/testsuite] Refactor regexp in gdb.base/annota1.exp
authorTom de Vries <tdevries@suse.de>
Thu, 7 Oct 2021 03:45:32 +0000 (05:45 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 7 Oct 2021 03:45:32 +0000 (05:45 +0200)
commitcf4505a7ec012daa6c22aacc4a785c9346ed6372
tree43cfd68b4e6a1d28b99f59e1d74f32b7894dc5cf
parent82f2f39d81580493abed59809423b5787949bc65
[gdb/testsuite] Refactor regexp in gdb.base/annota1.exp

Refactor regexp in gdb.base/annota1.exp to reduce indentation and repetition.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/annota1.exp