From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112613 invoked by alias); 22 Sep 2015 22:48:30 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 112582 invoked by uid 89); 22 Sep 2015 22:48:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 22 Sep 2015 22:48:25 +0000 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 37F71340566; Tue, 22 Sep 2015 22:48:23 +0000 (UTC) Date: Tue, 22 Sep 2015 22:48:00 -0000 From: Mike Frysinger To: Ales Novak Cc: Andreas Arnez , gdb@sourceware.org, Peter Griffin , Michael Holzheu Subject: Re: gdb on Linux Kernel dumps (gdb-kdump) Message-ID: <20150922224822.GG27286@vapier.lan> Mail-Followup-To: Ales Novak , Andreas Arnez , gdb@sourceware.org, Peter Griffin , Michael Holzheu References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="y0Ed1hDcWxc3B7cn" Content-Disposition: inline In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00019.txt.bz2 --y0Ed1hDcWxc3B7cn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1523 On 23 Sep 2015 00:10, Ales Novak wrote: > On 2015-9-22 19:56, Andreas Arnez wrote: > > Right. As pointed out in the talk at the Cauldron, there are already a > > few examples in the Linux kernel source tree under "scripts/gdb". In > > addition, this post mentions another GDB-enhancing project for Linux > > kernel debugging, named "LKD": > > > > https://sourceware.org/ml/gdb-patches/2015-06/msg00040.html > > > > The LKD project focuses more on live debugging and thus might be a > > useful complement to gdb-kdump. >=20 > Yes. The scripts in scripts/gdb/linux can be used, if they match the=20 > dumped kernel. LKD sounds interesting, being slightly in overlap with=20 > gdb-kdump. >=20 > > So, how to continue? Would you be able to convert gdb-kdump into > > patches against upstream GDB and send those to the gdb-patches mailing > > list? >=20 > The github repo is based on the very recent 7.10 release, i.e. it can be= =20 > applied almost harmlessly. Yet it brings dependance on the libkdumpfile,= =20 > which in turn brings dependance on liblzo2, libz, libsnappy (these are=20 > used in the dump formats), which I don't know how upstream will like.=20 > Should I try to send it anyway? as long as support is behind a configure flag/check, it shouldn't be a problem. gdb doesn't generally care about transitive deps either -- in this case it merely relies on libkdumpfile. i'd note that libkdumpfile has all those libs listed as optional too. its license is GPL, so that shouldn't be a problem either. -mike --y0Ed1hDcWxc3B7cn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWAdq2AAoJEEFjO5/oN/WB24sQAK7jBMZuqEtBMDY33zkA8SLt YtyaWOsb9s9q9IFMFI3nA2PkpLL4fZvfxdHnLtuXxBKSxCeah9pKs6a0imgIxooJ 1f9GZ8ww9bU/o9+tC3PF9kt5Qzc0pvLY8tL25Ut6/LeHFH7N5+k3lGdqesguqPSW oKx1Zt9iZ8+OCA1564ts+9OB4iBLnkXf3SgK3gytrPPaTUU2kjdL8Sj/iR6Ol1MN yyM9cFQ8NyTKvjBK3aNYedDxHVTouFpjQTDymXdgxMzJA95/vfaX+Y5vIezyTfNw KUmBBeHh7yAZaZE7niaEwufJopGx5VF/XA5xPsZ32MYJgwytVU3OqE97G2bOI4CQ fiq3qbVH04ICnHIZCP0yldlz8n4bQUS8C9Qi5+rNVZ8t3fsiRkLBzdVd7VwhJyUK m7aVN/1pEtSt0SQVNGoFtWmhgxpoRwbpBX9aZCLK0BBbacwhC0RFAuVl+2/M6/0D w1CKa65a3iISjYLMpwL8lqOAcYhMY093KRQ4+X/kDvYdKvFXUmHWdJyVFBWxLNFM D9I+9uPufu1kmBDByKxO/dupxbAYx9vfFKhAduIadu/Y+m9T9pQKruU93t3v7SUB +H6EmfzhhNV61kwcU/EAQBFYYsiEkrEb3Dwu6sj26skBlTYJcwce5BuEtSNstz21 3IC9GHEfTqU8bvEraHCZ =za/z -----END PGP SIGNATURE----- --y0Ed1hDcWxc3B7cn--