From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10080 invoked by alias); 24 Feb 2010 21:16:18 -0000 Received: (qmail 10069 invoked by uid 22791); 24 Feb 2010 21:16:17 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp1.linux-foundation.org (HELO smtp1.linux-foundation.org) (140.211.169.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 24 Feb 2010 21:16:14 +0000 Received: from imap1.linux-foundation.org (imap1.linux-foundation.org [140.211.169.55]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id o1OLFm4G001432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Feb 2010 13:15:49 -0800 Received: from y.localdomain (localhost [127.0.0.1]) by imap1.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with SMTP id o1OLFjYX020785; Wed, 24 Feb 2010 13:15:46 -0800 Date: Wed, 24 Feb 2010 21:16:00 -0000 From: Andrew Morton To: Hui Zhu Cc: Arjan van de Ven , ozan@pardus.org.tr, Matthew Wilcox , linux-kernel@vger.kernel.org, gdb-patches ml , Michal Marek , Jason Wessel Subject: Re: [PATCH 0/2] markup_oops.pl and GDB: Let GDB can handle kernel oops stack message Message-Id: <20100224131545.951db05e.akpm@linux-foundation.org> In-Reply-To: <4B829750.90107@gmail.com> References: <4B829750.90107@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MIMEDefang-Filter: lf$Revision: 1.188 $ 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 X-SW-Source: 2010-02/txt/msg00606.txt.bz2 On Mon, 22 Feb 2010 22:40:16 +0800 Hui Zhu wrote: > So I make a patch for markup_oops.pl to make it can convert the oops > message to GDB command. > And make a patch for GDB to add a new target empty which level is same > with corelow target. It can save the memory and reg operation command's > value and send it to GDB as the inferior's value. Then GDB can parse the > oops message directly. How useful is the kernel patch when one is using an unpatched gdb?