源程序
#include
int main(){
unsigned int a = 123456;
float d = 10.14532;
char name[] = {"This is a string."};
printf("a=%d, d=%f, name=%s\n", a, d, name);
return 0;
}
怎样利用gdb跟踪GCC的运行过程,并使用gdb输出该节点内存地址的内容?
例如:struct tree_int_cst
(gdb) print *(struct tree_int_cst *)