From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17489 invoked by alias); 22 Mar 2008 01:25:59 -0000 Received: (qmail 17479 invoked by uid 22791); 22 Mar 2008 01:25:58 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Mar 2008 01:25:39 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 446DA98298; Sat, 22 Mar 2008 01:25:37 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0C09298278; Sat, 22 Mar 2008 01:25:37 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JcsUK-0002RC-0T; Fri, 21 Mar 2008 21:25:36 -0400 Date: Sat, 22 Mar 2008 01:25:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Pedro Alves , gdb-patches@sourceware.org Subject: Re: linux native async mode support Message-ID: <20080322012535.GA9255@caradoc.them.org> Mail-Followup-To: Nick Roberts , Pedro Alves , gdb-patches@sourceware.org References: <200803140810.22883.pedro@codesourcery.com> <20080314211646.GK31663@caradoc.them.org> <200803171605.24276.pedro@codesourcery.com> <18399.1872.669733.441391@kahikatea.snap.net.nz> <20080321154856.GM25307@caradoc.them.org> <18404.15944.939015.419140@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18404.15944.939015.419140@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00325.txt.bz2 On Sat, Mar 22, 2008 at 11:01:28AM +1200, Nick Roberts wrote: > > > My original test file mi-async.exp (attached below) works with your patch > > > when GDBFLAGS is toggled as above. > > > > Could you post a patch to add this? You can use -gdb-set to avoid > > adjusting GDBFLAGS, > > I don't think so: > > maintenance set linux-async on > ^^^^^^^^^^^ Whoops, I didn't think that one through. You're right. > (gdb) start > Breakpoint 1 at 0x804862c: file myprog.c, line 95. > Starting program: /home/nickrob/myprog > main (argc=1, argv=0xbfe3b904) at myprog.c:95 > 95 main (int argc, char **argv) { > (gdb) maintenance set linux-async on > Cannot change this setting while the inferior is running. Right, gotta do it after gdb_start but before anything else. > > and [isnative] && [istarget *-linux*] to limit > > it to platforms with the new command for now. > > I will do this. Thank you! -- Daniel Jacobowitz CodeSourcery