简体   繁体   中英

Is it possible to view unnamed frame / function argument with GDB?

When I have a core dump (after segfault) and the frame I am interested in looks like this:

#2  0x000000000043cbfa in foo::Bar::baz(float) ()

How do I extract the argument value in the given frame with GDB?

Going off memory. Command sequence to list the argument in a frame are

frame 2
info args

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