From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12894 invoked by alias); 10 Jun 2007 01:02:11 -0000 Received: (qmail 12886 invoked by uid 22791); 10 Jun 2007 01:02:10 -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, 10 Jun 2007 01:02:07 +0000 Received: from kahikatea.snap.net.nz (73.63.255.123.dynamic.snap.net.nz [123.255.63.73]) by viper.snap.net.nz (Postfix) with ESMTP id E482D3D9A34; Sun, 10 Jun 2007 13:02:04 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 8F3DF8F9D4; Sun, 10 Jun 2007 13:02:01 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18027.19848.967.104746@kahikatea.snap.net.nz> Date: Sun, 10 Jun 2007 01:02:00 -0000 To: Jan Kratochvil Cc: Daniel Jacobowitz , gdb@sourceware.org Subject: Asynchronous Gdb [was Re: PATCH: PR tui/2173: Arrow keys no longer works in breakpoint command list] In-Reply-To: <20070609192835.GA25350@host0.dyn.jankratochvil.net> References: <18019.18081.448928.93993@kahikatea.snap.net.nz> <20070604010633.GA927@caradoc.them.org> <18019.29775.303769.331474@kahikatea.snap.net.nz> <20070609192835.GA25350@host0.dyn.jankratochvil.net> X-Mailer: VM 7.19 under Emacs 22.1.50.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00063.txt.bz2 > > > I'm not sure how to fix it, either - > > > the patch you cited was very tricky to come up with already :-( > > The whole reason why the patch was so tricky was giving up on using the > synchronous readline () call. Replacing it with the other callbacked > possibilities is not going to be backward compatible as readline () behavior > is too complex. > > Going to provide a libreadline patch #2 but unfortunately only later. Does this mean that you're interested in getting gdb to work asynchronously? I have submitted a patch to go some way towards doing this (http://sourceware.org/ml/gdb-patches/2006-11/msg00225.html) and would like to help with that work, but admit that I don't fully understand the issues. The impression I get is that asynchronous operation of Gdb was a large project that Red Hat (and possibly Apple) started but never finished. I think Elena Zannoni did much of the work and I realise it is unlikely that she will continue with it. However, it would be helpful if Red Hat could document the underlying logic of these changes in the GDB Internals manual. -- Nick http://www.inet.net.nz/~nickrob