Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262831AbVAQSPO (ORCPT ); Mon, 17 Jan 2005 13:15:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262829AbVAQSOx (ORCPT ); Mon, 17 Jan 2005 13:14:53 -0500 Received: from terminus.zytor.com ([209.128.68.124]:34260 "EHLO terminus.zytor.com") by vger.kernel.org with ESMTP id S262832AbVAQSNa (ORCPT ); Mon, 17 Jan 2005 13:13:30 -0500 Message-ID: <41EBFF87.6080105@zytor.com> Date: Mon, 17 Jan 2005 10:10:15 -0800 From: "H. Peter Anvin" User-Agent: Mozilla Thunderbird 0.9 (X11/20041127) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tigran Aivazian CC: 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 References: <20050114205651.GE17263@kam.mff.cuni.cz> <1105955608.6304.60.camel@laptopd505.fenrus.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1198 Lines: 27 Tigran Aivazian wrote: > On Mon, 17 Jan 2005, Arjan van de Ven wrote: > >>> Actually, having cc'd Linus made me think very _carefully_ about what I >>> say and I went and checked how the userspace does it, as I couldn't >>> believe that such fine piece of software as gdb would be broken as well. >>> And to my surprize I discovered that gdb (when a program is compiled >>> with >>> -g) works fine! I.e. it shows the function arguments correctly. And >> >> so why don't you use kgdb instead of kdb ? > > If kdb was some dead unmaintained piece of software then, yes, I would > follow your advice and switch to kgdb. But kdb is a very nice and > actively maintained piece of work, so it should be fixed to show the > parameter values correctly in the backtrace. That's a kdb maintainer issue. The x86-64 folks have nicely provided a set of libraries to do backtraces, etc. Your previous rant is just so far off base it's not even funny. -hpa - 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/