From 1c5dfdad97705b53aa4f92a58bf527da2448911b Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Mon, 5 Nov 2001 23:26:09 +0000 Subject: [PATCH] 2001-11-05 Michael Snyder * gdb.texinfo (info functions): Document use of backslash to quote regexp chars in function names such as "operator*()". --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index dfde0f2b77..e7c127959a 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2001-11-05 Michael Snyder + + * gdb.texinfo (info functions): Document use of backslash to + quote regexp chars in function names such as "operator*()". + 2001-11-01 Fred Fish * gdbint.texinfo (SOLIB_ADD): Document additional new diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index bfa50a281d..dec8be4bd3 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -8290,7 +8290,9 @@ Print the names and data types of all defined functions whose names contain a match for regular expression @var{regexp}. Thus, @samp{info fun step} finds all functions whose names include @code{step}; @samp{info fun ^step} finds those whose names -start with @code{step}. +start with @code{step}. If a function name contains characters +that conflict with the regular expression language (eg. +@samp{operator*()}), they may be quoted with a backslash. @kindex info variables @item info variables -- 2.34.1