From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103199 invoked by alias); 20 Mar 2015 01:21:08 -0000 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 Received: (qmail 103187 invoked by uid 89); 20 Mar 2015 01:21:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-pd0-f170.google.com Received: from mail-pd0-f170.google.com (HELO mail-pd0-f170.google.com) (209.85.192.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 20 Mar 2015 01:21:06 +0000 Received: by pdbop1 with SMTP id op1so92696512pdb.2 for ; Thu, 19 Mar 2015 18:21:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=ZjgnpARjLo4jF20navGRPWJAlm5bwbEABkEC+jbiVuU=; b=GuJjs+5IyeQQwKa5Oyy/qBtsTuOZ0gXQ0C5kYOEzrJZz3qC+Y94vDWwHIbeMUkqXKc YoIFkG9hyL0w0hNmRbuO+Ckw6v3CgZKHKsVILolZQNKlrd7qQlh9zjFw4qlIo8kK0vch me+JjypoHLWMSaGvwcU4etentMzRl/wiLkoce+VfIcatwne2EEOhyRafqMTDmi4x3MNR KavOyEMLeqiZy89aOxCbFR82ctQCjfIAkAK35MjhVCHratayMiOuHGmbcG9TlfudQNN4 kSC8MWYCf+yrOXOHV8m3IIyog2NWOFqQNQ8Xl2kTOa2AoRONALf5iSJde6knjO/rzoRA TWfg== X-Gm-Message-State: ALoCoQkCH/cvSrTAFLNFtU/riPZEcsS0caaAiXtr9gGKdr5ofACto78l46KbMsXAeb3R+K2fWImJ X-Received: by 10.66.216.67 with SMTP id oo3mr177804202pac.133.1426814464804; Thu, 19 Mar 2015 18:21:04 -0700 (PDT) Received: from linux (ip70-181-35-204.ri.ri.cox.net. [70.181.35.204]) by mx.google.com with ESMTPSA id yt8sm5073424pab.22.2015.03.19.18.21.03 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 19 Mar 2015 18:21:04 -0700 (PDT) Date: Fri, 20 Mar 2015 01:21:00 -0000 From: Bob Rossi To: gdb@sourceware.org Subject: Can gdbmi process many commands at once? Message-ID: <20150320012207.GB25457@linux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00070.txt.bz2 Hi, I'm trying to determine if GDB/MI has the capability of accepting and working on multiple commands at once? For instance, if I run these commands, (gdb) 123-interpreter-exec console "p argc" ~"$3 = 1" ~"\n" 123^done (gdb) 234-interpreter-exec console "p argv[1]" ~"$4 = 0x0\n" 234^done Is there any mode in which the command, 234-interpreter-exec console "p argv[1]" will be worked on before 123-interpreter-exec console "p argc" is finished? The implication is that i'm expecting to have at most 1 command active with GDB at a time. I'm curious if there is a situation where a front end could have many active commands at a time. By active I mean, I issue several commands, and then some time later, I get a response on each of these, in any order. Thanks, Bob Rossi