From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8392 invoked by alias); 12 Oct 2006 19:52:16 -0000 Received: (qmail 8384 invoked by uid 22791); 12 Oct 2006 19:52:16 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Oct 2006 19:52:10 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id BCB1327708; Thu, 12 Oct 2006 12:52:05 -0700 (PDT) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08865-18-29; Thu, 12 Oct 2006 12:52:04 -0700 (PDT) Received: from ussunex01.palmsource.com (unknown [192.168.101.9]) by mx2.palmsource.com (Postfix) with ESMTP id EF2F8276BA; Thu, 12 Oct 2006 12:52:04 -0700 (PDT) Received: from 192.168.92.75 ([192.168.92.75]) by ussunex01.palmsource.com ([192.168.101.9]) via Exchange Front-End Server owa.palmsource.com ([10.0.20.17]) with Microsoft Exchange Server HTTP-DAV ; Thu, 12 Oct 2006 19:52:05 +0000 Received: from svmsnyderlnx by owa.palmsource.com; 12 Oct 2006 12:52:03 -0700 Subject: Re: Response to long with info locals and info args From: Michael Snyder To: jl.biord@free.fr Cc: gdb@sourceware.org In-Reply-To: <1160637029.452dea65672a6@imp2-g19.free.fr> References: <1160637029.452dea65672a6@imp2-g19.free.fr> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 12 Oct 2006 19:52:00 -0000 Message-Id: <1160682723.14535.193.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00083.txt.bz2 On Thu, 2006-10-12 at 09:10 +0200, jl.biord@free.fr wrote: > Hi, > > I want to have simple responses to "info locals" and "info args" because when > the variables are complex class the responses are too long. I want to have only > the names of locals or args variables. I need that because gdb is controlled by > an external program. > > Is it possible? Try "info scope". Unfortunately you have to give it an argument, but if its output is something like what you want, you could maybe enhance the command so that it would default to the current scope.