diff options
author | Pedro Alves <palves@redhat.com> | 2016-06-21 01:11:56 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-06-21 01:11:56 +0100 |
commit | 468afe6c5fc9c80b8c175f3f13702ffaa6308400 (patch) | |
tree | 81b24033463a87673f235c67b153cbee86ca36a9 /gdb/testsuite/ChangeLog | |
parent | 51f77c3704a6e5c28fdcdd6d6e0aeb97ebdb343f (diff) | |
download | gdb-468afe6c5fc9c80b8c175f3f13702ffaa6308400.zip gdb-468afe6c5fc9c80b8c175f3f13702ffaa6308400.tar.gz gdb-468afe6c5fc9c80b8c175f3f13702ffaa6308400.tar.bz2 |
Send deleted watchpoint-scope output to all UIs
Testing with:
make check RUNTESTFLAGS="SEPARATE_MI_TTY=1"
shows this, in gdb.mi/mi-watch.exp:
-*stopped,reason="watchpoint-scope",wpnum="2",frame={addr="0x00000000004005cb",
+*stopped,frame={addr="0x00000000004005cb",
(...)
-PASS: gdb.mi/mi-watch.exp: hw: watchpoint trigger
+FAIL: gdb.mi/mi-watch.exp: hw: watchpoint trigger (unknown output after running)
That is, we lose the "watchpoint-scope" output on the MI UI.
This commit fixes it, and makes the test run with MI running as both
main UI and separate UI.
gdb/ChangeLog:
2016-06-21 Pedro Alves <palves@redhat.com>
* breakpoint.c (watchpoint_check): Send watchpoint-deleted output
to all UIs.
gdb/testsuite/ChangeLog:
2016-06-21 Pedro Alves <palves@redhat.com>
* gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
(test_awatch_creation_and_listing)
(test_rwatch_creation_and_listing, test_watchpoint_triggering):
Remove 'type' parameter.
(test_watchpoint_all): New parameter mi_mode. Remove
with_test_prefix.
(top level): Use foreach_with_prefix, and add main/separate UI MI
testing axis.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 888d6cd..7e1e9b0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,16 @@ 2016-06-21 Pedro Alves <palves@redhat.com> + * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing) + (test_awatch_creation_and_listing) + (test_rwatch_creation_and_listing, test_watchpoint_triggering): + Remove 'type' parameter. + (test_watchpoint_all): New parameter mi_mode. Remove + with_test_prefix. + (top level): Use foreach_with_prefix, and add main/separate UI MI + testing axis. + +2016-06-21 Pedro Alves <palves@redhat.com> + * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY. * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id. * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset |