diff options
author | Yao Qi <yao@codesourcery.com> | 2012-11-03 12:14:47 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-11-03 12:14:47 +0000 |
commit | 6f6484cd83d5d58fc72997d1d6a106f0bf359a04 (patch) | |
tree | 318f938ed7449b8c71f640597a42aeff81f22c35 /gdb/testsuite | |
parent | 2036af69e1f9a846a610e07e14ba71ad0822f7b6 (diff) | |
download | gdb-6f6484cd83d5d58fc72997d1d6a106f0bf359a04.zip gdb-6f6484cd83d5d58fc72997d1d6a106f0bf359a04.tar.gz gdb-6f6484cd83d5d58fc72997d1d6a106f0bf359a04.tar.bz2 |
gdb:
Fix PR gdb/14617.
* breakpoint.c (trace_pass_set_count): Call
observer_notify_breakpoint_modified instead of
observer_notify_tracepoint_modified.
* mi/mi-cmd-break.c (mi_cmd_break_passcount): Likewise.
gdb/doc:
* observer.texi (GDB Observers): Remove observer
'tracepoint_modified', 'tracepoint_created' and
'tracepoint_deleted'.
gdb/testsuite:
Fix PR gdb/14617.
* gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
Remove setup_kfail, and update test.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e3376d1..ad0407d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-11-03 Yao Qi <yao@codesourcery.com> + + Fix PR gdb/14617. + * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): + Remove setup_kfail, and update test. + 2012-11-02 Tom Tromey <tromey@redhat.com> * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion diff --git a/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp b/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp index 773f588..ec10032 100644 --- a/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp +++ b/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp @@ -120,10 +120,9 @@ proc test_insert_delete_modify { } { {.*=breakpoint-modified,bkpt=\{number="5",.*,ignore=\"1\".*\}.*\n\^done} \ $test # 5. when modifying pass count. - setup_kfail gdb/14617 *-*-* set test "passcount 1 4" mi_gdb_test $test \ - {.*=breakpoint-modified,bkpt=\{number="4",.*\}.*\n\^done} \ + {.*=breakpoint-modified,bkpt=\{number="4",.*pass="1".*\}.*\n\^done} \ $test # Delete some breakpoints and verify that '=breakpoint-deleted |