From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23013 invoked by alias); 26 Jul 2002 03:21:46 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22999 invoked from network); 26 Jul 2002 03:21:45 -0000 Received: from unknown (HELO mta6.snfc21.pbi.net) (206.13.28.240) by sources.redhat.com with SMTP; 26 Jul 2002 03:21:45 -0000 Received: from modrick ([66.120.11.181]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <0GZU00M6U6O9S6@mta6.snfc21.pbi.net> for gdb@sources.redhat.com; Thu, 25 Jul 2002 20:21:45 -0700 (PDT) Date: Thu, 25 Jul 2002 20:21:00 -0000 From: Mo DeJong Subject: Proposed mod for stack-select-frame MI command To: gdb Message-id: <20020725202141.34b12c04.supermo@bayarea.net> Organization: House of Mirth MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-SW-Source: 2002-07/txt/msg00279.txt.bz2 Greetings I am been working with the MI recently and ran into a real problem with the stack-select-frame method. While it can be used to change the stack to a new level, there is no way to just move up or down a level(s) like the cli up and down commands. I am suggesting that the implementation of the -stack-select-frame be changed to support selection of stack frames that are relative to the current stack frame. -stack-select-frame 0 -stack-select-frame +1 (This would move up one frame) -stack-select-frame +1 -stack-select-frame -2 (This would end up back at frame 0) A patch to implement this change has been posted to gdb-patches. cheers Mo DeJong