public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/14617] New: Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification
@ 2012-09-25 5:35 qiyao at gcc dot gnu.org
2012-09-28 21:25 ` [Bug gdb/14617] " tromey at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: qiyao at gcc dot gnu.org @ 2012-09-25 5:35 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14617
Bug #: 14617
Summary: Set passcount of tracepoint doesn't trigger
'=breakpoint-modified' notification
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: qiyao@gcc.gnu.org
Classification: Unclassified
'=breakpoint-modified' notification is emitted when commands, condition, and
ignore count is modified, but when modify 'passcount' of tracepoint, no
'=breakpoint-modified' is emitted.
passcount 1 4^M
&"passcount 1 4\n"^M
~"Setting tracepoint 4's passcount to 1\n"^M
^done^
(gdb)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/14617] Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification
2012-09-25 5:35 [Bug gdb/14617] New: Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification qiyao at gcc dot gnu.org
@ 2012-09-28 21:25 ` tromey at redhat dot com
2012-10-18 10:37 ` qiyao at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2012-09-28 21:25 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14617
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-09-28 21:25:42 UTC ---
MI never calls observer_attach_tracepoint_modified.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/14617] Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification
2012-09-25 5:35 [Bug gdb/14617] New: Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification qiyao at gcc dot gnu.org
2012-09-28 21:25 ` [Bug gdb/14617] " tromey at redhat dot com
@ 2012-10-18 10:37 ` qiyao at gcc dot gnu.org
2012-11-03 12:14 ` cvs-commit at gcc dot gnu.org
2012-11-03 13:05 ` qiyao at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: qiyao at gcc dot gnu.org @ 2012-10-18 10:37 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14617
Yao Qi <qiyao at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware |qiyao at gcc dot gnu.org
|dot org |
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/14617] Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification
2012-09-25 5:35 [Bug gdb/14617] New: Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification qiyao at gcc dot gnu.org
2012-09-28 21:25 ` [Bug gdb/14617] " tromey at redhat dot com
2012-10-18 10:37 ` qiyao at gcc dot gnu.org
@ 2012-11-03 12:14 ` cvs-commit at gcc dot gnu.org
2012-11-03 13:05 ` qiyao at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-11-03 12:14 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14617
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-11-03 12:14:54 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: qiyao@sourceware.org 2012-11-03 12:14:47
Modified files:
gdb : ChangeLog breakpoint.c
gdb/doc : ChangeLog observer.texi
gdb/mi : mi-cmd-break.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.mi: mi-breakpoint-changed.exp
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14779&r2=1.14780
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.711&r2=1.712
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1375&r2=1.1376
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/observer.texi.diff?cvsroot=src&r1=1.42&r2=1.43
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmd-break.c.diff?cvsroot=src&r1=1.53&r2=1.54
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3438&r2=1.3439
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp.diff?cvsroot=src&r1=1.2&r2=1.3
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/14617] Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification
2012-09-25 5:35 [Bug gdb/14617] New: Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification qiyao at gcc dot gnu.org
` (2 preceding siblings ...)
2012-11-03 12:14 ` cvs-commit at gcc dot gnu.org
@ 2012-11-03 13:05 ` qiyao at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: qiyao at gcc dot gnu.org @ 2012-11-03 13:05 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14617
Yao Qi <qiyao at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |7.6
--- Comment #3 from Yao Qi <qiyao at gcc dot gnu.org> 2012-11-03 13:05:07 UTC ---
Fixed in this patch http://sourceware.org/ml/gdb-patches/2012-11/msg00033.html
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-03 13:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-25 5:35 [Bug gdb/14617] New: Set passcount of tracepoint doesn't trigger '=breakpoint-modified' notification qiyao at gcc dot gnu.org
2012-09-28 21:25 ` [Bug gdb/14617] " tromey at redhat dot com
2012-10-18 10:37 ` qiyao at gcc dot gnu.org
2012-11-03 12:14 ` cvs-commit at gcc dot gnu.org
2012-11-03 13:05 ` qiyao at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).