From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4437 invoked by alias); 12 Aug 2011 14:46:34 -0000 Received: (qmail 4427 invoked by uid 22791); 12 Aug 2011 14:46:33 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 12 Aug 2011 14:46:20 +0000 Received: (qmail 804 invoked from network); 12 Aug 2011 14:46:19 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 12 Aug 2011 14:46:19 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: Toggle from gdbmi to gdb and back after launching? Date: Fri, 12 Aug 2011 14:46:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.7.0; x86_64; ; ) Cc: Jusctsch References: <32250713.post@talk.nabble.com> In-Reply-To: <32250713.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201108121546.15969.pedro@codesourcery.com> 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: 2011-08/txt/msg00033.txt.bz2 On Friday 12 August 2011 15:23:02, Jusctsch wrote: > > Hello all, > I was wondering if there was currently a way to switch between gdbmi mode > and vanilla gdb after launching gdb and attaching to a process, without > having to relaunch and reattach. A 'yes' response would be like an early > christmas present :-) Fully switch? No. But there's `interpreter-exec mi "-foo-mi-cmd"' and `-interpreter-exec console "foo-cmd"' that may be what you're looking for. -- Pedro Alves