diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-02-22 08:28:38 +0100 |
---|---|---|
committer | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-02-22 18:56:51 +0100 |
commit | 4000e47e2f3860a85a9023f3fe5950c8cc6fa507 (patch) | |
tree | cca7bd97d35a1f4a58392f6b24e0d992dfa6df35 /bfd/version.h | |
parent | ac46107c5c781894e013b10cd9fb5c98a8393d26 (diff) | |
download | gdb-4000e47e2f3860a85a9023f3fe5950c8cc6fa507.zip gdb-4000e47e2f3860a85a9023f3fe5950c8cc6fa507.tar.gz gdb-4000e47e2f3860a85a9023f3fe5950c8cc6fa507.tar.bz2 |
gdb.trace: Fix unavailable.exp if last register happens to be PC.
unavailable.exp executes "info registers", expecting to find at least
two instances of "<unavailable>". However, it uses
"<unavailable>.*<unavailable>" as the pattern, which doesn't match
when the last register happens to be available (eg. PC). Change it
to ".*<unavailable>.*<unavailable>.*" instead.
Noticed on s390, no regression on x86_64.
gdb/testsuite/ChangeLog:
* gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
info registers pattern.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions