From owner-freebsd-hackers@freebsd.org Wed Feb 15 12:06:25 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63416CE0A89 for ; Wed, 15 Feb 2017 12:06:25 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 271E2764 for ; Wed, 15 Feb 2017 12:06:25 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1cdyLg-000DP4-5Q for freebsd-hackers@freebsd.org; Wed, 15 Feb 2017 15:06:16 +0300 Date: Wed, 15 Feb 2017 15:06:16 +0300 From: Slawa Olhovchenkov To: freebsd-hackers@freebsd.org Subject: Parse info from core file Message-ID: <20170215120616.GB15630@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 12:06:25 -0000 How to I am can parse core from my program? For example, for dump in human-readable form hashs/trees/etc. gdb in many cases don't have information about types. lldb don't start w/ core at acceptable time. Run application w/ some switch can be help, but I am don't know how to load and use/map core in application.