This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Response to long with info locals and info args
- From: Daniel Jacobowitz <drow at false dot org>
- To: jl dot biord at free dot fr
- Cc: gdb at sourceware dot org
- Date: Thu, 12 Oct 2006 08:55:32 -0400
- Subject: Re: Response to long with info locals and info args
- References: <1160637029.452dea65672a6@imp2-g19.free.fr>
On Thu, Oct 12, 2006 at 09:10:29AM +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?
You should be using GDB/MI to control GDB, not the command line. If
you do that, there's -stack-list-args and -stack-list-locals.
--
Daniel Jacobowitz
CodeSourcery