gdb用法

来源:互联网 发布:淘宝新品如何破零 编辑:程序博客网 时间:2024/05/02 17:19

1:gdb打印动态数组:

x=(int*)malloc(25*sizeof(int));

p *x@25 或者 p (int [25])*x

0 0
原创粉丝点击