From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9470 invoked by alias); 24 Mar 2008 00:07:08 -0000 Received: (qmail 9250 invoked by uid 22791); 24 Mar 2008 00:07:08 -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; Mon, 24 Mar 2008 00:06:38 +0000 Received: from kahikatea.snap.net.nz (117.60.255.123.dynamic.snap.net.nz [123.255.60.117]) by viper.snap.net.nz (Postfix) with ESMTP id 6904A3D9D2B; Mon, 24 Mar 2008 13:06:35 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 6593A8FC6D; Mon, 24 Mar 2008 12:06:31 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18406.61574.596374.828002@kahikatea.snap.net.nz> Date: Mon, 24 Mar 2008 00:07:00 -0000 To: Daniel Jacobowitz Cc: Jan Kratochvil , gdb-patches@sourceware.org, Chet Ramey Subject: Re: [patch] Fix testsuite annotate-quit race (PR 544) In-Reply-To: <20080323173015.GA17514@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> <18406.14411.437345.335844@kahikatea.snap.net.nz> <20080323163027.GB13603@caradoc.them.org> <20080323164331.GA1195@host0.dyn.jankratochvil.net> <20080323173015.GA17514@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/msg00346.txt.bz2 > Weird, it didn't break in my Debian emacs 22.1+1-3. I don't > understand the difference. It appears the fact that Emacs uses a dumb terminal was a dumb statement, or at least a red herring. I think the cause of the problem is just that terminals in Emacs don't echo input characters (at least on my (compiled from CVS) and probably Jan's version: nickrob@kahikatea:~$ stty -a speed 38400 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ; kill = ; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke ^^^^^ > Anyway, since the patch is clearly at fault I have reverted it. > Nick, Jan, thank you. With this setting, for some reason this patch means that Gdb doesn't display the prompt but everything else gets displayed: nickrob@kahikatea:~$ src-head/build/gdb/gdb 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". pwd Working directory /home/nickrob. path Executable and object file path: .:/home/nickrob/bin/:/home/nickrob/bin:.:/home/nickrob/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games quit nickrob@kahikatea:~$ -- Nick http://www.inet.net.nz/~nickrob