gdb: watch 实例

(gdb) watch main_arena->bins
Watchpoint 2: main_arena->bins

(gdb) info break
Num     Type           Disp Enb Address            What
1       breakpoint     keep y   0x00000000004005de in main at malloc_1.c:

猜你喜欢

转载自blog.csdn.net/qq_36428903/article/details/142955990
GDB