我访问了ftp://ftp2.caldera.com。但是不可用,除了sco的ftp,还有谁有可以发一个吗?我的邮箱是xuye@chinaloyalty.com.cn足够大,谢谢
换句话就是:Solaris下什么调试工具最好? 在Solaris版会的人不多,到这里来问问^_^ [ 本帖最后由 xxxp 于 2005-12-19 15:14 编辑 ]
代码中 int tmp[10]; //没有初始化 调试时 (gdb) print tmp $1 = {1, 0, 1107383425, 134513318, 1108545272, 1108544020, -1073749672, 134513221, 1108544020, 1073792608} 请问可以看到这些值的16进制的显示值吗? 谢谢了。。。 [ 本帖最后由 wooin 于 2006-8-10 08:34 编辑 ]
一、显示源代码 gdb 可以打印出所调试程序的源代码,当然,在程序编译时一定要加上-g的参数,把源程序信息编译到执行文件中。不然就看不到源程序了。当程序停下来以后, gdb会报告程序停在了那个文件的第几行上。你可以用list命令来打印程序的源代码。还是来看一看查看源代码的gdb命令吧。 list 显示程序第linenum行的周围的源程序。 list 显示函数名为function的函数的源程序。 list 显示当前行后面的源程序。 list - 显示...
请问各位,gdb下面又没有能使变量自动显示的功能,比如本行有,p,q两个变量,可以自动显示这两个变量的值,next到下一行时,有两个变量mn,自动显示m和n的值。而display是一直显示同一个变量。VC下有自动显示的功能
gdb的命令概貌 ——————— 启动gdb后,就你被带入gdb的调试环境中,就可以使用gdb的命令开始调试程序了,gdb的命令可以使用help命令来查看,如下所示: /home/hchen> gdb GNU gdb 5.1.1 Copyright 2002 Free Software Foundation, Inc. gdb is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. ...
gdb的命令概貌 ——————— 启动gdb后,就你被带入gdb的调试环境中,就可以使用gdb的命令开始调试程序了,gdb的命令可以使用help命令来查看,如下所示: /home/hchen> gdb GNU gdb 5.1.1 Copyright 2002 Free Software Foundation, Inc. gdb is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. ...