Linux编程 gedit、gcc、gdb.ppt

编译生成执行文件:(Linux下) ??? # gcc -g tst.c -o tst 使用GDB调试: # gdb tst //启动GDB GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh) Copyright 2004 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. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-redhat-linux-gnu...Using host libthread_db lib rary /lib/tls/libthread_db.so.1. 一个调试示例 (gdb) l???? // l命令相当于list,从第一行开始

文档评论(0)

1亿VIP精品文档

相关文档