aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/infotrace.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-02-23 19:20:39 +0000
committerMichael Snyder <msnyder@vmware.com>2011-02-23 19:20:39 +0000
commite5a67952d601be63c6f017122971f3c2421825bf (patch)
tree18cdd0d386ef72acd7c1c613ca92fd69dde5540b /gdb/testsuite/gdb.trace/infotrace.exp
parentfbcb778d0c464993053911997d95fdce1c2432be (diff)
downloadfsf-binutils-gdb-e5a67952d601be63c6f017122971f3c2421825bf.zip
fsf-binutils-gdb-e5a67952d601be63c6f017122971f3c2421825bf.tar.gz
fsf-binutils-gdb-e5a67952d601be63c6f017122971f3c2421825bf.tar.bz2
2011-02-21 Michael Snyder <msnyder@vmware.com>
* breakpoint.c (breakpoint_1): Change first argument from an int to a char pointer, so that the function now accepts a list of breakpoints rather than just one. Use new function 'number_is_in_list' to implement. (breakpoints_info): Pass char * instead of int to breakpoint_1. (watchpoints_info): Ditto. (tracepoints_info): Ditto. (maintenance_info_breakpoints): Ditto. (_initialize_breakpoint): Update help strings to reflect the fact that these functions can now take more than one argument. * cli/cli-utils.c (number_is_in_list): New function. * cli/cli-utils.h (number_is_in_list): Export. 2011-02-21 Michael Snyder <msnyder@vmware.com> * gdb.texinfo (Set Breaks): Add @dots{} to arguments of info break. (Set Watchpoints): Add @dots{} to argument of info watchpoints. (Listing Tracepoints): Add @dots{} to argument of info tracepoints. 2011-02-21 Michael Snyder <msnyder@vmware.com> * gdb.base/break.exp: Add tests for "info break" with arguments. * gdb.trace/infotrace.exp: Update patterns for error and help. * gdb.base/completion.exp: Update pattern. * gdb.base/ena-dis-br.exp: Update pattern. * gdb.base/help.exp: Update patterns.
Diffstat (limited to 'gdb/testsuite/gdb.trace/infotrace.exp')
-rw-r--r--gdb/testsuite/gdb.trace/infotrace.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.trace/infotrace.exp b/gdb/testsuite/gdb.trace/infotrace.exp
index b167089..491cbf9 100644
--- a/gdb/testsuite/gdb.trace/infotrace.exp
+++ b/gdb/testsuite/gdb.trace/infotrace.exp
@@ -73,7 +73,7 @@ gdb_test "info tracepoint $asm_test_num" \
# 2.3 info tracepoint (invalid tracepoint number)
gdb_test "info tracepoint [expr $c_test_num + $asm_test_num]" \
- "No tracepoint number [expr $c_test_num + $asm_test_num]." \
+ "No tracepoint matching '[expr $c_test_num + $asm_test_num]'." \
"2.3: info tracepoint (invalid tracepoint number)"
# 2.4 info tracepoints (list of numbers)
@@ -89,6 +89,6 @@ gdb_test_multiple "info tracepoints $c_test_num $asm_test_num " \
# 2.5 help info trace
gdb_test "help info tracepoints" \
- "Status of tracepoints, or tracepoint number NUMBER.*" \
+ "Status of specified tracepoints .all tracepoints if no argument.*" \
"2.5: help info tracepoints"