* Response to long with info locals and info args
@ 2006-10-12 7:10 jl.biord
2006-10-12 12:55 ` Daniel Jacobowitz
2006-10-12 19:52 ` Michael Snyder
0 siblings, 2 replies; 3+ messages in thread
From: jl.biord @ 2006-10-12 7:10 UTC (permalink / raw)
To: gdb
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?
Thanks,
Jean-Luc Biord
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Response to long with info locals and info args
2006-10-12 7:10 Response to long with info locals and info args jl.biord
@ 2006-10-12 12:55 ` Daniel Jacobowitz
2006-10-12 19:52 ` Michael Snyder
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2006-10-12 12:55 UTC (permalink / raw)
To: jl.biord; +Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Response to long with info locals and info args
2006-10-12 7:10 Response to long with info locals and info args jl.biord
2006-10-12 12:55 ` Daniel Jacobowitz
@ 2006-10-12 19:52 ` Michael Snyder
1 sibling, 0 replies; 3+ messages in thread
From: Michael Snyder @ 2006-10-12 19:52 UTC (permalink / raw)
To: jl.biord; +Cc: gdb
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-12 19:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12 7:10 Response to long with info locals and info args jl.biord
2006-10-12 12:55 ` Daniel Jacobowitz
2006-10-12 19:52 ` Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox