From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88133 invoked by alias); 4 Jan 2018 01:50:22 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 88034 invoked by uid 89); 4 Jan 2018 01:50:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=recognizing X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Jan 2018 01:50:18 +0000 Received: from ralph.baldwin.cx.com (astound-66-234-202-155.ca.astound.net [66.234.202.155]) by mail.baldwin.cx (Postfix) with ESMTPSA id 2563010A8BC for ; Wed, 3 Jan 2018 20:50:16 -0500 (EST) From: John Baldwin To: gdb-patches@sourceware.org Subject: [PATCH v2 0/5] Support for 'info proc' on FreeBSD cores and native Date: Thu, 04 Jan 2018 01:50:00 -0000 Message-Id: <20180104014923.11899-1-jhb@FreeBSD.org> X-IsSubscribed: yes X-SW-Source: 2018-01/txt/msg00045.txt.bz2 Changes since the first version of this patch series include: - The first patch for binutils recognizing new core notes has been pushed. - The 'stat' and 'status' subcommands have been merged on FreeBSD. - Additional error checking added to the argument parsing for the native FreeBSD target's info proc method. - One new patch to fix a bug in fbsd_pid_to_exec_file found during testing. - One new patch to remove an extraneous unique_ptr deleter. - Various cleanups suggested by Simon Marchi. - Further refinements to the documentation to be less /proc centric and to fix some dangling references to the renamed node's old name. John Baldwin (5): Support 'info proc' for FreeBSD process core dumps. Don't return stale data from fbsd_pid_to_exec_file for kernel processes. Use gdb::unique_xmalloc_ptr<> instead of a deleter that invokes free(). Support 'info proc' for native FreeBSD processes. Document support for 'info proc' on FreeBSD. gdb/ChangeLog | 42 ++++ gdb/config.in | 3 + gdb/configure | 60 +++++ gdb/configure.ac | 5 + gdb/doc/ChangeLog | 9 + gdb/doc/gdb.texinfo | 76 ++++--- gdb/fbsd-nat.c | 384 ++++++++++++++++++++++++++++--- gdb/fbsd-tdep.c | 643 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gdb/fbsd-tdep.h | 7 + 9 files changed, 1161 insertions(+), 68 deletions(-) -- 2.15.1