public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Remove support for old FreeBSD hosts
@ 2020-07-20 17:31 John Baldwin
  2020-07-20 17:31 ` [PATCH 1/5] Assume that PT_LWPINFO is always defined on " John Baldwin
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: John Baldwin @ 2020-07-20 17:31 UTC (permalink / raw)
  To: gdb-patches

This patch series aims to remove some cruft from the FreeBSD native
target that isn't needed on modern systems.  Most of the changes
remove support for systems released more than 10 years ago.  The last
change is closer to 9 years ago, but any such systems already fail to
compile the native target today (and for several recent releases).
I've yet to receive a single complaint either here or on FreeBSD lists
about such breakage.

The kinfo_get_file change could perhaps use further refinement.  We
need a configure check to pick up the correct library (libutil on
FreeBSD and libutil-freebsd on GNU/kFreeBSD).  However, the
kinfo_get_file and kinfo_get_vmmap functions were added to this
library at the same time (same SVN commit in FreeBSD), so checking for
both is redundant.  Right now we check for kinfo_get_file in
gdbsupport since filestuff.c uses it if present.  We could remove the
check for kinfo_get_vmmap entirely from gdb/configure.ac if we think
the kinfo_get_file check in gdbsupport/common.m4 is sufficient.  If
so, I might need to at least move the comment from configure.ac over
to common.m4 with some modifications.

John Baldwin (5): Assume that PT_LWPINFO is always defined on FreeBSD
  hosts.  Assume KERN_PROC_PATHNAME is present on FreeBSD hosts.
  Assume FreeBSD hosts include support for fetching signal
  information.  Require kinfo_get_file and kinfo_get_vmmap for FreeBSD
  hosts.  Assume FreeBSD kernels always report exec events.

 gdb/ChangeLog  |  31 +++++++++++
 gdb/fbsd-nat.c | 139 +------------------------------------------------
 gdb/fbsd-nat.h |   4 --
 3 files changed, 32 insertions(+), 142 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-09-10 19:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20 17:31 [PATCH 0/5] Remove support for old FreeBSD hosts John Baldwin
2020-07-20 17:31 ` [PATCH 1/5] Assume that PT_LWPINFO is always defined on " John Baldwin
2020-07-20 17:31 ` [PATCH 2/5] Assume KERN_PROC_PATHNAME is present " John Baldwin
2020-07-21  2:16   ` Simon Marchi
2020-07-22 16:44     ` John Baldwin
2020-07-20 17:31 ` [PATCH 3/5] Assume FreeBSD hosts include support for fetching signal information John Baldwin
2020-07-20 17:31 ` [PATCH 4/5] Require kinfo_get_file and kinfo_get_vmmap for FreeBSD hosts John Baldwin
2020-07-20 17:31 ` [PATCH 5/5] Assume FreeBSD kernels always report exec events John Baldwin
2020-08-03 16:19 ` [PATCH 0/5] Remove support for old FreeBSD hosts John Baldwin
2020-09-10 12:24   ` Simon Marchi
2020-09-10 19:56     ` John Baldwin
2020-09-09 21:19 ` John Baldwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).