Add a new 'info proc files' subcommand of 'info proc'.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 18 Sep 2018 21:05:47 +0000 (14:05 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 18 Sep 2018 21:05:47 +0000 (14:05 -0700)
commite98ee8c458f3a8405eb93e71b00f801b4bbe3635
tree7ed0b2326d25d74bf06518e62a33274b3a798263
parent725e299974632e529be8b9c004a72118240da9f1
Add a new 'info proc files' subcommand of 'info proc'.

This command displays a list of open file descriptors.

gdb/ChangeLog:

* defs.h (enum info_proc_what) [IP_FILES]: New value.
* infcmd.c (info_proc_cmd_files): New function.
(_initialize_infcmd): Register 'info proc files' command.
gdb/ChangeLog
gdb/defs.h
gdb/infcmd.c