From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59262 invoked by alias); 22 Sep 2015 22:10:16 -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 59248 invoked by uid 89); 22 Sep 2015 22:10:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_50,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 22 Sep 2015 22:10:14 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 50E85AD33; Tue, 22 Sep 2015 22:10:11 +0000 (UTC) Date: Tue, 22 Sep 2015 22:10:00 -0000 From: Ales Novak To: Andreas Arnez cc: gdb@sourceware.org, Peter Griffin , Michael Holzheu Subject: Re: gdb on Linux Kernel dumps (gdb-kdump) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.03 (LSU 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00018.txt.bz2 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. Yes. The scripts in scripts/gdb/linux can be used, if they match the dumped kernel. LKD sounds interesting, being slightly in overlap with gdb-kdump. > 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? The github repo is based on the very recent 7.10 release, i.e. it can be applied almost harmlessly. Yet it brings dependance on the libkdumpfile, which in turn brings dependance on liblzo2, libz, libsnappy (these are used in the dump formats), which I don't know how upstream will like. Should I try to send it anyway? -- Ales Novak