diff options
author | unknown <serg@janus.mylan> | 2008-02-03 20:58:47 +0100 |
---|---|---|
committer | unknown <serg@janus.mylan> | 2008-02-03 20:58:47 +0100 |
commit | fe7287f8f769df22bca66c99c9aeb17b82ab2df8 (patch) | |
tree | 6c8a2d2245b0d6ce45716db6816284d02320fd82 /dbug/user.r | |
parent | 06477018e77c44b48120cd254bc198baed2d6df7 (diff) | |
download | mariadb-git-fe7287f8f769df22bca66c99c9aeb17b82ab2df8.tar.gz |
dbug: function/ (a.k.a. SUBDIR) syntax
dbug/dbug.c:
function/ (a.k.a. SUBDIR) syntax
dbug/tests-t.pl:
1. add support for test comments
2. add test comments
3. move tests around
4. add SUBDIR tests
dbug/tests.c:
support code for SUBDIR testing
include/my_dbug.h:
comments. change in _db_set_ prototype
dbug/user.r:
negative lists and function/ syntax.
Diffstat (limited to 'dbug/user.r')
-rw-r--r-- | dbug/user.r | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/dbug/user.r b/dbug/user.r index e41367de321..6cb1c05b25f 100644 --- a/dbug/user.r +++ b/dbug/user.r @@ -908,17 +908,17 @@ via the .B DBUG_PUSH or .B DBUG_SET -macros. Control string consists of colon separate flags. Colons +macros. Control string consists of colon separated flags. Colons that are part of ':\\', ':/', or '::' are not considered flag separators. A flag may take an argument or a list of arguments. If a control string starts from a '+' sign it works .I incrementally, -that is, it can modify existing state without overriding it. In such a -string every flag may be preceded by a '+' or '-' to enable or disable -a corresponding option in the debugger state. This section summarizes -the currently available debugger options and the flag characters which -enable or disable them. Argument lists enclosed in '[' and ']' are -optional. +that is, it can modify existing state without overriding it. Every +flag may be preceded by a '+' or '-' to enable or disable a +corresponding option in the debugger state or to add or remove +arguments to the list. This section summarizes the currently available +debugger options and the flag characters which enable or disable them. +Argument lists enclosed in '[' and ']' are optional. .SP 2 .BL 22 .LI a[,file] @@ -942,6 +942,15 @@ Default is zero. .LI f[,functions] Limit debugger actions to the specified list of functions. An empty list of functions implies that all functions are selected. +Every function in the list may optionally be followed by a '/' - +this will implicitly select all the functions down the call stack. +.SP 1 +EX: \fCf,func1,func2/:-f,func3,func4/\fR +.SP 1 +This would enable debugger in functions 'func1()', 'func2()' and all +functions called from it (directly or indirectly). But not in +functions 'func3()' or 'func4()' and all functions called from +it. .LI F Mark each debugger output line with the name of the source file containing the macro causing the output. |