diff options
author | Luis Machado <lgustavo@codesourcery.com> | 2015-04-29 12:09:40 -0300 |
---|---|---|
committer | Luis Machado <lgustavo@codesourcery.com> | 2015-04-29 12:09:40 -0300 |
commit | ecbf2b3c4f5ee6c00cf058b87fa49708d4030d7f (patch) | |
tree | 088ad98a585552c4f7ef172cad7a919fe4df064c /sim/configure | |
parent | 0a13382c8e708fd9eb15dbc81cedc35e6670090c (diff) | |
download | binutils-ecbf2b3c4f5ee6c00cf058b87fa49708d4030d7f.zip binutils-ecbf2b3c4f5ee6c00cf058b87fa49708d4030d7f.tar.gz binutils-ecbf2b3c4f5ee6c00cf058b87fa49708d4030d7f.tar.bz2 |
Handle memory write errors on gdb.base/break-always.exp
This is another case of the testcase not handling memory write errors that
happen on some targets (QEMU) when GDB attempts to modify an address that
should contain a breakpoint, for example.
The following patch handles this and prevents spurious failures from
happening. It also adds a foreach loop to avoid duplication of code
and hardcoded patterns.
gdb/testsuite/ChangeLog:
2015-04-29 Luis Machado <lgustavo@codesourcery.com>
* gdb.base/break-always.exp: Abort testing if writing to memory
causes an error.
Diffstat (limited to 'sim/configure')
0 files changed, 0 insertions, 0 deletions