aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-02-12 16:15:24 +0000
committerPedro Alves <palves@redhat.com>2010-02-12 16:15:24 +0000
commit081dfbf778bccf638e777fd4babc2911d0a59306 (patch)
tree3d3aaa2623e490c254de9d166cb5ca54948f3de3
parent9d0e849713a37ee589c203792f8450786733ee63 (diff)
downloadgdb-081dfbf778bccf638e777fd4babc2911d0a59306.zip
gdb-081dfbf778bccf638e777fd4babc2911d0a59306.tar.gz
gdb-081dfbf778bccf638e777fd4babc2911d0a59306.tar.bz2
gdb/doc/
* gdb.texinfo (Using the Collected Data): Specify that the address range of `tfind outsize' is exclusive, and that the address range of `tfind range' is inclusive. (Tracepoint Packets): Specify that the address range of `QTFrame:range' is inclusive, and that the address range of `QTFrame:outside' is exclusive gdb/ * tracepoint.c (_initialize_tracepoint): Specify that the address range of `tfind outsize' is exclusive, and that the address range of `tfind range' is inclusive, in the commands' help strings.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/doc/ChangeLog9
-rw-r--r--gdb/doc/gdb.texinfo8
-rw-r--r--gdb/tracepoint.c4
4 files changed, 21 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f2df5df..bf7acb0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2010-02-12 Pedro Alves <pedro@codesourcery.com>
+
+ * tracepoint.c (_initialize_tracepoint): Specify that the address
+ range of `tfind outsize' is exclusive, and that the address range
+ of `tfind range' is inclusive, in the commands' help strings.
+
2010-02-12 Joel Brobecker <brobecker@adacore.com>
Spurious "dll not found" error messages on x64-windows.
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index eb055e6..507d855 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,12 @@
+2010-02-12 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.texinfo (Using the Collected Data): Specify that the address
+ range of `tfind outsize' is exclusive, and that the address range
+ of `tfind range' is inclusive.
+ (Tracepoint Packets): Specify that the address range of
+ `QTFrame:range' is inclusive, and that the address range of
+ `QTFrame:outside' is exclusive
+
2010-02-12 Vladimir Prus <vladimir@codesourcery.com>
* gdb.texinfo (GDB/MI Result Records): Clarify ^running.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index d2fd7a8..eb11197 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -9900,11 +9900,11 @@ snapshot with the same value of PC as the current snapshot.
@item tfind outside @var{addr1}, @var{addr2}
Find the next snapshot whose PC is outside the given range of
-addresses.
+addresses (exclusive).
@item tfind range @var{addr1}, @var{addr2}
Find the next snapshot whose PC is between @var{addr1} and
-@var{addr2}. @c FIXME: Is the range inclusive or exclusive?
+@var{addr2} (inclusive).
@item tfind line @r{[}@var{file}:@r{]}@var{n}
Find the next snapshot associated with the source line @var{n}. If
@@ -30549,12 +30549,12 @@ is a hexadecimal number.
@item QTFrame:range:@var{start}:@var{end}
Like @samp{QTFrame:@var{n}}, but select the first tracepoint frame after the
currently selected frame whose PC is between @var{start} (inclusive)
-and @var{end} (exclusive); @var{start} and @var{end} are hexadecimal
+and @var{end} (inclusive); @var{start} and @var{end} are hexadecimal
numbers.
@item QTFrame:outside:@var{start}:@var{end}
Like @samp{QTFrame:range:@var{start}:@var{end}}, but select the first
-frame @emph{outside} the given range of addresses.
+frame @emph{outside} the given range of addresses (exclusive).
@item QTStart
Begin the tracepoint experiment. Begin collecting data from tracepoint
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index e27b690..f38d6c1 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -3610,12 +3610,12 @@ No argument means forward by one frame; '-' means backward by one frame."),
&tfindlist, "tfind ", 1, &cmdlist);
add_cmd ("outside", class_trace, trace_find_outside_command, _("\
-Select a trace frame whose PC is outside the given range.\n\
+Select a trace frame whose PC is outside the given range (exclusive).\n\
Usage: tfind outside addr1, addr2"),
&tfindlist);
add_cmd ("range", class_trace, trace_find_range_command, _("\
-Select a trace frame whose PC is in the given range.\n\
+Select a trace frame whose PC is in the given range (inclusive).\n\
Usage: tfind range addr1,addr2"),
&tfindlist);