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/breakpoint.c | |
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/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 0023ba5..851dd86 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -15245,7 +15245,7 @@ static void trace_pass_set_count (struct tracepoint *tp, int count, int from_tty) { tp->pass_count = count; - observer_notify_tracepoint_modified (tp->base.number); + observer_notify_breakpoint_modified (&tp->base); if (from_tty) printf_filtered (_("Setting tracepoint %d's passcount to %d\n"), tp->base.number, count); |