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 /gdb/testsuite/ChangeLog | |
parent | 0a13382c8e708fd9eb15dbc81cedc35e6670090c (diff) | |
download | gdb-ecbf2b3c4f5ee6c00cf058b87fa49708d4030d7f.zip gdb-ecbf2b3c4f5ee6c00cf058b87fa49708d4030d7f.tar.gz gdb-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 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 639dae7..3e2df8f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-04-29 Luis Machado <lgustavo@codesourcery.com> + + * gdb.base/break-always.exp: Abort testing if writing to memory + causes an error. + 2015-04-28 Doug Evans <dje@google.com> * gdb.python/py-pp-maint.py: Move "replace" testing to ... |