This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Response to long with info locals and info args


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]