Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261289AbVARNDs (ORCPT ); Tue, 18 Jan 2005 08:03:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261290AbVARNDs (ORCPT ); Tue, 18 Jan 2005 08:03:48 -0500 Received: from astro.systems.pipex.net ([62.241.163.6]:39585 "EHLO astro.systems.pipex.net") by vger.kernel.org with ESMTP id S261289AbVARNDp (ORCPT ); Tue, 18 Jan 2005 08:03:45 -0500 Date: Tue, 18 Jan 2005 13:04:37 +0000 (GMT) From: Tigran Aivazian X-X-Sender: tigran@ezer.homenet To: "H. Peter Anvin" Cc: Andi Kleen , Arjan van de Ven , Jan Hubicka , Jack F Vogel , linux-kernel@vger.kernel.org, Linus Torvalds Subject: Re: [discuss] booting a kernel compiled with -mregparm=0 In-Reply-To: Message-ID: References: <20050114205651.GE17263@kam.mff.cuni.cz> <1105955608.6304.60.camel@laptopd505.fenrus.org> <41EBFF87.6080105@zytor.com> <41EC224D.5080204@zytor.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 19 On Tue, 18 Jan 2005, Tigran Aivazian wrote: > I already solved this paricular problem. And the solution is (but don't tell > me you knew it, for then why didn't you tell anyone) simply --- compile the > kernel with -g and that includes enough debug information to be able to > decode the stack content correctly. And yes, kdb does show the correct > argument values now. No changes to kdb are necessary and no need to do the > work with dwarf2 implementation etc etc. actually I am very surprized that it worked (because looking at the code I concluded that it should NOT). So I need to retest in all cases to make sure this is not a coincidence but a solid fact... Kind regards Tigran - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/