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/mi | |
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/mi')
-rw-r--r-- | gdb/mi/mi-cmd-break.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c index 2fe84dc..487d42d 100644 --- a/gdb/mi/mi-cmd-break.c +++ b/gdb/mi/mi-cmd-break.c @@ -200,7 +200,7 @@ mi_cmd_break_passcount (char *command, char **argv, int argc) if (t) { t->pass_count = p; - observer_notify_tracepoint_modified (n); + observer_notify_breakpoint_modified (&t->base); } else { |