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: Doubt with gdb


ä 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


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