diff options
author | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2019-08-03 21:20:44 +0200 |
---|---|---|
committer | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2019-08-03 21:27:51 +0200 |
commit | ae60f04e08bf48f65d9101a6ab63f3806e6fca5e (patch) | |
tree | 1c34306cf263ec43333a9c7f109fd1dd7965fda0 /gdb/doc | |
parent | db4dc13eebbd73cddfe3abb6c001982c7bdbba3f (diff) | |
download | gdb-ae60f04e08bf48f65d9101a6ab63f3806e6fca5e.zip gdb-ae60f04e08bf48f65d9101a6ab63f3806e6fca5e.tar.gz gdb-ae60f04e08bf48f65d9101a6ab63f3806e6fca5e.tar.bz2 |
NEWS and documentation for info sources [-dirname | -basename] [--] [REGEXP].
gdb/ChangeLog
2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* NEWS: Mention changes to "info sources" command.
gdb/doc/ChangeLog
2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* gdb.texinfo (Symbols): Document new args -dirname and -basename
of "info sources" command.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index e469b60..95fd22c 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be> + + * gdb.texinfo (Symbols): Document new args -dirname and -basename + of "info sources" command. + 2019-07-30 Christian Biesinger <cbiesinger@google.com> * python.texi (Symbols In Python): Document new function diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0fcd131..89b1eda 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -18583,6 +18583,16 @@ Print the names of all source files in your program for which there is debugging information, organized into two lists: files whose symbols have already been read, and files whose symbols will be read when needed. +@item info sources [-dirname | -basename] [--] [@var{regexp}] +Like @samp{info sources}, but only print the names of the files +matching the provided @var{regexp}. +By default, the @var{regexp} is used to match anywhere in the filename. +If @code{-dirname}, only files having a dirname matching @var{regexp} are shown. +If @code{-basename}, only files having a basename matching @var{regexp} +are shown. +The matching is case-sensitive, except on operating systems that +have case-insensitive filesystem (e.g., MS-Windows). + @kindex info functions @item info functions [-q] Print the names and data types of all defined functions. |