From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28510 invoked by alias); 5 Aug 2011 20:22:52 -0000 Received: (qmail 28499 invoked by uid 22791); 5 Aug 2011 20:22:50 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ew0-f41.google.com (HELO mail-ew0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Aug 2011 20:22:29 +0000 Received: by ewy9 with SMTP id 9so1895998ewy.0 for ; Fri, 05 Aug 2011 13:22:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.47.16 with SMTP id s16mr785892eeb.43.1312575748249; Fri, 05 Aug 2011 13:22:28 -0700 (PDT) Received: by 10.14.53.11 with HTTP; Fri, 5 Aug 2011 13:22:28 -0700 (PDT) In-Reply-To: References: <201108051553.02017.pedro@codesourcery.com> Date: Fri, 05 Aug 2011 20:22:00 -0000 Message-ID: Subject: Re: Don't disable the current display in throw_exception From: Daniel Jacobowitz To: Tom Tromey Cc: Pedro Alves , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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: 2011-08/txt/msg00122.txt.bz2 Seconded! Does this also fix the bug where if you display a variable, and it is temporarily at a bad address, the display is disabled? Or is that still the case? That always drives me nuts - yes, I know foo is NULL, but I want GDB to go back to displaying *foo when it comes back. I don't know what the "infinite recursion" in question is. On Fri, Aug 5, 2011 at 11:10 AM, Tom Tromey wrote: >>>>>> "Pedro" == Pedro Alves writes: > > Pedro> An unavailable exception is thrown while evaluating > Pedro> the dwarf location of argc, but that is caught by higher > Pedro> layers, and shouldn't cause a disablement of the display. > Pedro> Patch below fixes it, and adds a test that would > Pedro> fail otherwise, for me at least, on amd64-linux. > > Thanks for doing this. > > Tom > -- Thanks, Daniel