简体   繁体   中英

gdb: info locals on a selected frame

Just a simple ask:

The (gdb) info locals command gives the list of local variables and their values.

Are these values initialized values or point in time of execution of that frame? Can you provide any documentation around this?

Are these values initialized values or point in time of execution of that frame?

The latter. Documentation says:

"These are all variables (declared either static or automatic) accessible at the point of execution of the selected frame."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM