From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14032 invoked by alias); 9 Aug 2011 00:25:17 -0000 Received: (qmail 14023 invoked by uid 22791); 9 Aug 2011 00:25:16 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-gy0-f169.google.com (HELO mail-gy0-f169.google.com) (209.85.160.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Aug 2011 00:25:03 +0000 Received: by gyg10 with SMTP id 10so3016397gyg.0 for ; Mon, 08 Aug 2011 17:25:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.125.196 with SMTP id z44mr221361yhh.232.1312849502470; Mon, 08 Aug 2011 17:25:02 -0700 (PDT) Received: by 10.236.34.193 with HTTP; Mon, 8 Aug 2011 17:25:02 -0700 (PDT) In-Reply-To: References: Date: Tue, 09 Aug 2011 00:25:00 -0000 Message-ID: Subject: Re: [patch] python prompt additions at first prompt. From: Matt Rice To: Tom Tromey Cc: 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/msg00164.txt.bz2 On Mon, Aug 8, 2011 at 5:20 PM, Matt Rice wrote: > further, trying this same case without my patch leads me to believe > that the original code is not correct either. > precisely because it does call rl_callback_handler_install, debugging > gdb gives an infinite loop of these. > not debugging gdb you seem to wind up back at the shell needing to 'fg' gdb. should have looked first, this seems to be PR 10720