]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Support 'info proc files' on live FreeBSD processes.
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)
commit7e69672e4dfa532607e4ecef99623680264a87b3
tree11b2733d3afc49046b84bdca565979d3c101e43c
parent57c2a98a4c7e5ad4e62c876eb5cebe9d17a51ad0
Support 'info proc files' on live FreeBSD processes.

This walks the list of struct kinfo_file objects returned by a call to
kinfo_getfile outputting a description of each open file descriptor.

gdb/ChangeLog:

* fbsd-nat.c (fbsd_nat_target::info_proc): List open file
descriptors for IP_FILES and IP_ALL.
gdb/ChangeLog
gdb/fbsd-nat.c