diff options
author | Yao Qi <yao@codesourcery.com> | 2011-11-18 01:21:35 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-11-18 01:21:35 +0000 |
commit | bfccc43c1218b6d89bb021381276ac742e7a9a9e (patch) | |
tree | 4cb5a36039810f966bf54f316a3123ade3e3d952 /gdb/doc | |
parent | 3ea46bff735f66cca658e990155816c57cc194d3 (diff) | |
download | gdb-bfccc43c1218b6d89bb021381276ac742e7a9a9e.zip gdb-bfccc43c1218b6d89bb021381276ac742e7a9a9e.tar.gz gdb-bfccc43c1218b6d89bb021381276ac742e7a9a9e.tar.bz2 |
gdb/
* breakpoint.c (create_breakpoint): Produce query message according to
breakpoint's type.
Allocate tracepoint per correct type.
Don't check SALs for pending fast tracepoints.
* tracepoint.c (process_tracepoint_on_disconnect): New.
(disconnect_tracing): Call process_tracepoint_on_disconnect.
gdb/doc/
* gdb.texinfo (Create and Delete Tracepoints): Mention pending
tracepoint.
gdb/testsuite/
* gdb.trace/pending.exp: New.
* gdb.trace/pending.c: New.
* gdb.trace/pendshr1.c: New.
* gdb.trace/pendshr2.c: New.
* gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
tracepoint location becomes pending.
(tracepoint_change_loc_2): New.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 4975cd2..e8d634a 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2011-11-18 Yao Qi <yao@codesourcery.com> + + * gdb.texinfo (Create and Delete Tracepoints): Mention pending + tracepoint. + 2011-11-15 Doug Evans <dje@google.com> * gdb.texinfo (Files): Document basenames-may-differ. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index f4f7f1e..bb9bede 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -10340,7 +10340,15 @@ in tracing}). If remote stub doesn't support the @samp{InstallInTrace} feature, all these changes don't take effect until the next @code{tstart} command, and once a trace experiment is running, further changes will -not have any effect until the next trace experiment starts. +not have any effect until the next trace experiment starts. In addition, +@value{GDBN} supports @dfn{pending tracepoints}---tracepoints whose +address is not yet resolved. (This is similar to pending breakpoints.) +Pending tracepoints are not downloaded to the target and not installed +until they are resolved. The resolution of pending tracepoints requires +@value{GDBN} support---when debugging with the remote target, and +@value{GDBN} disconnects from the remote stub (@pxref{disconnected +tracing}), pending tracepoints can not be resolved (and downloaded to +the remote stub) while @value{GDBN} is disconnected. Here are some examples of using the @code{trace} command: |