This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog NEWS ax-gdb.c ax-gdb.h remot ...
- From: shebs at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Jul 2009 21:40:35 -0000
- Subject: src/gdb ChangeLog NEWS ax-gdb.c ax-gdb.h remot ...
CVSROOT: /cvs/src
Module name: src
Changes by: shebs@sourceware.org 2009-07-14 21:40:35
Modified files:
gdb : ChangeLog NEWS ax-gdb.c ax-gdb.h remote.c
tracepoint.c
gdb/doc : ChangeLog agentexpr.texi gdb.texinfo
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.trace: tracecmd.exp
Log message:
gdb/
Conditional tracepoints.
* ax-gdb.h (gen_eval_for_expr): Declare.
* ax-gdb.c (gen_expr): Generate bytecodes for BINOP_EQUAL
and other comparisons.
(gen_eval_for_expr): New function.
(agent_eval_command): New maintenance command.
(_initialize_ax_gdb): Define the command.
* remote.c (struct remote_state): New field cond_tracepoints.
(PACKET_ConditionalTracepoints): New packet config type.
(remote_cond_tracepoint_feature): New function.
(remote_protocol_features): Add ConditionalTracepoints.
(remote_supports_cond_tracepoints): New function.
(_initialize_remote): Add ConditionalTracepoints.
* tracepoint.c (download_tracepoint): Add conditional.
* NEWS: Mention conditional tracepoints.
gdb/doc/
* gdb.texinfo (Tracepoint Conditions): New section.
(General Query Packets): Describe ConditionalTracepoints.
(Tracepoint Packets): Describe condition field.
(Maintenance Commands): Describe maint agent-eval.
* agentexpr.texi (Using Agent Expressions): Mention eval usage.
gdb/testsuite/
* gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10716&r2=1.10717
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.317&r2=1.318
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ax-gdb.c.diff?cvsroot=src&r1=1.52&r2=1.53
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ax-gdb.h.diff?cvsroot=src&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&r1=1.363&r2=1.364
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tracepoint.c.diff?cvsroot=src&r1=1.125&r2=1.126
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.931&r2=1.932
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doc/agentexpr.texi.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.606&r2=1.607
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1927&r2=1.1928
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.trace/tracecmd.exp.diff?cvsroot=src&r1=1.12&r2=1.13