From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12871 invoked by alias); 8 Jul 2009 12:10:18 -0000 Received: (qmail 12863 invoked by uid 22791); 8 Jul 2009 12:10:18 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mtagate8.de.ibm.com (HELO mtagate8.de.ibm.com) (195.212.29.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Jul 2009 12:10:13 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate8.de.ibm.com (8.14.3/8.13.8) with ESMTP id n68C9dpD426566 for ; Wed, 8 Jul 2009 12:09:39 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n68C9d5C1626112 for ; Wed, 8 Jul 2009 14:09:39 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n68C9d1J029407 for ; Wed, 8 Jul 2009 14:09:39 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id n68C9b6t029376; Wed, 8 Jul 2009 14:09:37 +0200 Message-Id: <200907081209.n68C9b6t029376@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 08 Jul 2009 14:09:37 +0200 Subject: Re: [RFA] Avoid internal error in paddress To: muller@ics.u-strasbg.fr (Pierre Muller) Date: Wed, 08 Jul 2009 12:10:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <000501c9ffa2$7ed3e2d0$7c7ba870$@u-strasbg.fr> from "Pierre Muller" at Jul 08, 2009 10:02:53 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2009-07/txt/msg00232.txt.bz2 Hi Pierre, > I reported an internal error > in gdbtui at startup > concerning the recently modified paddress function: > > http://sourceware.org/ml/gdb/2009-07/msg00052.html > > I suspect that this internal error could bite > us elsewhere, this is why I propose the following patch: I don't really like this, there is no other place in GDB where a NULL gdbarch is silently accepted. I think we should really make sure we know a proper gdbarch ... I've now checked in this patch: http://sourceware.org/ml/gdb-patches/2009-07/msg00231.html to fix the gdbtui crash. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com