diff options
author | Pedro Alves <palves@redhat.com> | 2017-11-07 11:00:31 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-11-07 11:06:49 +0000 |
commit | cee62dbd8771e22856d950c2615fb463305a9fcb (patch) | |
tree | 20897e6e89bdc60afa5ccc71aed126c3f65d4d9c /etc | |
parent | cc638e867c240546b4dbc791761099d3ca5fe4a9 (diff) | |
download | binutils-cee62dbd8771e22856d950c2615fb463305a9fcb.zip binutils-cee62dbd8771e22856d950c2615fb463305a9fcb.tar.gz binutils-cee62dbd8771e22856d950c2615fb463305a9fcb.tar.bz2 |
Add base 'enable/disable invalid location range' tests
This adds tests that exercise the "bad breakpoint number" paths.
Specifically:
- malformed ranges
- use of explicit 0 as bp/loc number.
- inverted ranges
I'm adding this as a baseline to improve. This shows that there's a
lot of inconsistency in GDB's output (e.g., "bad" vs "Bad").
Also, IMO, the "0-0" and inverted range cases should be loud errors.
That and more will all be addressed in the next patch.
gdb/testsuite/ChangeLog:
2017-11-07 Pedro Alves <palves@redhat.com>
* gdb.cp/ena-dis-br-range.exp: Add tests.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions