Doubt with gdb

xunxun xunxun1982@gmail.com
Tue May 7 10:19:00 GMT 2013


于 2013/5/7 星期二 17:06, John Martin 写道:
> Hello,
>
> And, is it possible to extract only variables of a function?
>
> info variables return me all variables of program.
>
> info variables "function"  ????
>
>
> El 07/05/13 11:01, xunxun escribió:
>> 于 2013/5/7 星期二 16:58, John Martin 写道:
>>> Hello,
>>> is there any way to tell GDB that return all static variables of a 
>>> function?
>>> best regards.
>>>
>>>
>> |info variables |
>> || 
>> <http://sourceware.org/gdb/current/onlinedocs/gdb/Symbols.html#index-info-variables-918>
>> -- 
>> Best Regards,
>> xunxun
>
Maybe you need the local variables?

info local
>
> -- 


-- 
Best Regards,
xunxun



More information about the Gdb mailing list