From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24621 invoked by alias); 23 Mar 2008 11:01:09 -0000 Received: (qmail 24611 invoked by uid 22791); 23 Mar 2008 11:01:09 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 23 Mar 2008 11:00:38 +0000 Received: from kahikatea.snap.net.nz (165.60.255.123.dynamic.snap.net.nz [123.255.60.165]) by viper.snap.net.nz (Postfix) with ESMTP id BB6813DA789; Mon, 24 Mar 2008 00:00:35 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 806DA8FC6D; Sun, 23 Mar 2008 23:00:28 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18406.14411.437345.335844@kahikatea.snap.net.nz> Date: Sun, 23 Mar 2008 11:01:00 -0000 To: Daniel Jacobowitz Cc: gdb-patches@sourceware.org, Jan Kratochvil , Chet Ramey Subject: Re: [patch] Fix testsuite annotate-quit race (PR 544) In-Reply-To: <20080321214448.GB29593@caradoc.them.org> References: <20080318225436.GA27374@host0.dyn.jankratochvil.net> <20080318231738.GA22432@caradoc.them.org> <20080319081056.GA32510@host0.dyn.jankratochvil.net> <20080321204506.GA5033@host0.dyn.jankratochvil.net> <20080321210323.GA30247@caradoc.them.org> <20080321214448.GB29593@caradoc.them.org> X-Mailer: VM 7.19 under Emacs 22.1.92.2 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: 2008-03/txt/msg00340.txt.bz2 > > I'm running some stress tests with this patch. So far it hasn't > > failed once. > > Checked in as so. > > -- > Daniel Jacobowitz > CodeSourcery > > 2008-03-21 Daniel Jacobowitz > > PR gdb/544 > Suggested by Jan Kratochvil: > * top.c (gdb_rl_operate_and_get_next_completion): Call > rl_redisplay_function. > (gdb_rl_redisplay): New. > (init_main): Set rl_redisplay_function. This change breaks things for Emacs (I have this strange feeling of deja vu...). Did your stress tests include running Gdb on a dumb terminal? I haven't the faintest idea what the problem is and everything seems fine on an xterm: nickrob@kahikatea:~$ src-head/build/gdb/gdb -ann=3 myprog GNU gdb 6.8.50.20080323-cvs Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... ^Z^Zpre-prompt (gdb) ^Z^Zprompt but if I do the same from within Emacs, the annotations don't appear. If you've not got Emacs 22.1, you can see it in an earlier version by doing M-x shell and "gdb -ann=3" in the *shell* buffer. -- Nick http://www.inet.net.nz/~nickrob