This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/5] Add a new 'info proc files' subcommand of 'info proc'.
> CC: <gdb-patches@sourceware.org>
> From: Simon Marchi <simon.marchi@ericsson.com>
> Date: Sat, 8 Sep 2018 23:30:36 +0100
>
> >> + add_cmd ("files", class_info, info_proc_cmd_files, _("\
> >> +List of open files."),
> >
> > IMO, this doc strings is too terse. I suggest to expand it telling
> > that the command shows the files open by the process being debugged.
>
> The info proc commands accept a pid, which allows you to refer to any
> process, not only those debugged by GDB.
Then let's say
List of files open by the specified process.