From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29500 invoked by alias); 18 Jun 2008 11:55:01 -0000 Received: (qmail 29484 invoked by uid 22791); 18 Jun 2008 11:54:59 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 18 Jun 2008 11:54:31 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K8wFB-0004ME-FR for gdb@sources.redhat.com; Wed, 18 Jun 2008 11:54:29 +0000 Received: from 78.158.192.230 ([78.158.192.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jun 2008 11:54:29 +0000 Received: from vladimir by 78.158.192.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jun 2008 11:54:29 +0000 To: gdb@sources.redhat.com From: Vladimir Prus Subject: Re: User-defined commands and thread/frame changes Date: Wed, 18 Jun 2008 11:55:00 -0000 Message-ID: References: <200806181533.22276.vladimir@codesourcery.com> <200806181250.24708.pedro@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 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: 2008-06/txt/msg00179.txt.bz2 Pedro Alves wrote: > A Wednesday 18 June 2008 12:33:21, Vladimir Prus wrote: >> We were discussion some issues with GDB console behaviour on Eclipse DSF >> list, and I've realized I miss one bit of information. Does anybody know of >> some concrete examples of reasonable user-defined commands that can change >> the current thread or frame? >> > > Can you point me at this discussion? The mail where I wonder how common are such commands is: http://dev.eclipse.org/mhonarc/lists/dsdp-dd-dev/msg01456.html > I know people use things like "up" or "frame" in breakpoint commands, to > analyse the call site of a breakpoint hit and do proceed/resume/stop > decisions on that. Well, do breakpoint commands exactly count -- as in non-stop mode, after we're done with breakpoint commands, the thread and frame are restored to user-specified ones? - Volodya