下载此文档

教你用gdb工具检查内存泄露.doc


文档分类:IT计算机 | 页数:约9页 举报非法文档有奖
1/9
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/9 下载此文档
文档列表 文档介绍
教你用 gdb 工具检查内存泄露注: set heap-check scramble on 可以不设置,要是设置了易出现程序运行不起来。 PTosa(scd1)> gdb chefers HP gdb for HP Itanium (32 or 64 bit) and target HP-UX . Copyright 1986 - 2001 Free Software Foundation, Inc. Hewlett-Packard Wildebeest (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. .. (gdb) set heap-check leaks on (gdb) set heap-check free on (gdb) set heap-check bounds on (gdb) set heap-check scramble on (gdb) b :180 Breakpoint 1 at 0x405a3c0:2: file /data/2000/optes/chefers/, line 180 from /data/users/osa/bin/chefers. (gdb) run ots1 scada psbob Starting program: /data/users/osa/bin/chefers ots1 scada psbob warning: Load module /oracle/app/oracle/product/. has been stripped. Debugging information is not available. warning: Load module /oracle/app/oracle/product/ has been stripped. Debugging information is not available. warning: Load module /oracle/app/oracle/product/. has been stripped. Debugging information is not available. warning: Load module /oracle/app/oracle/product/ has been stripped. Debugging information is not available. input = POINT_SIMULATE positon is 10 Breakpoint 1, chkErrors::verifyRun

教你用gdb工具检查内存泄露 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数9
  • 收藏数0 收藏
  • 顶次数0
  • 上传人xgs758698
  • 文件大小15 KB
  • 时间2016-08-05