Re: Doubt with gdb
xunxun <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
于 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