From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15656 invoked by alias); 18 Jul 2009 04:00:07 -0000 Received: (qmail 15639 invoked by uid 22791); 18 Jul 2009 04:00:06 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Jul 2009 03:59:59 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B68FD10624; Sat, 18 Jul 2009 03:59:56 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 67CC910623; Sat, 18 Jul 2009 03:59:56 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MS15W-0003s6-D9; Fri, 17 Jul 2009 23:59:54 -0400 Date: Sat, 18 Jul 2009 04:00:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Marc Khouzam , Hui Zhu , gdb@sources.redhat.com, Michael Snyder Subject: Re: Reverse debugging Message-ID: <20090718035954.GA14821@caradoc.them.org> Mail-Followup-To: Nick Roberts , Marc Khouzam , Hui Zhu , gdb@sources.redhat.com, Michael Snyder References: <19035.54231.157231.624882@totara.tehura.co.nz> <4A5BD5F3.1090103@vmware.com> <19035.57129.173542.368393@totara.tehura.co.nz> <4A5CC0E1.7020800@vmware.com> <19037.16041.589932.535743@totara.tehura.co.nz> <6D19CA8D71C89C43A057926FE0D4ADAA07BD6DD6@ecamlmw720.eamcs.ericsson.se> <19039.58589.853319.841012@totara.tehura.co.nz> <6D19CA8D71C89C43A057926FE0D4ADAA07BD7500@ecamlmw720.eamcs.ericsson.se> <19041.8220.81290.844584@totara.tehura.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19041.8220.81290.844584@totara.tehura.co.nz> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2009-07/txt/msg00121.txt.bz2 On Sat, Jul 18, 2009 at 01:06:36PM +1200, Nick Roberts wrote: > It seems strange not to use a tty for the console since it is a terminal. It > allows you to change the terminal mode, although admittedly I've not found a > need for this. Also if you wanted to use readline, I guess it would need a > tty. I've found it works much better to handle any readline-like behavior in the front end; then use -interpreter-exec to talk to GDB. This lets you reliably get MI notifications for actions, etc. -- Daniel Jacobowitz CodeSourcery