]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog-2014-2021
Add base 'enable/disable invalid location range' tests
authorPedro Alves <palves@redhat.com>
Tue, 7 Nov 2017 11:00:31 +0000 (11:00 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 7 Nov 2017 11:06:49 +0000 (11:06 +0000)
commitcee62dbd8771e22856d950c2615fb463305a9fcb
tree20897e6e89bdc60afa5ccc71aed126c3f65d4d9c
parentcc638e867c240546b4dbc791761099d3ca5fe4a9
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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/ena-dis-br-range.exp