ChinaUnix.net
相关文章推荐:

armlinuxgdb 调试core文件

LINUX下程序异常,使用gdb查看core文件,但看不到对应的代码信息,请问有什么办法进一步调试,从而找出程序异常BUG??请大侠指教 (gdb) core-file core.29644 core was generated by `/usr/currentwork/exe/app'. Program terminated with signal 11, Segmentation fault. #0 0x08128243 in ?? () (gdb) bt #0 0x08128243 in ?? () #1 0x0804e156 in ?? () #2 0x4001b2b6 in ?? ()

by icezhp - Linux论坛 - 2005-03-08 10:32:48 阅读(909) 回复(2)

相关讨论

我用sco openserver或unixware,请问怎样调式程序core dump后生成的core,就是说怎样才能看到core文件中具体core dump的文件名、行号等,而不是一些16进制的信息????

by chfchf - C/C++ - 2004-03-26 08:26:52 阅读(4139) 回复(11)

程序出现异常产生core 用bt看调用栈,但此栈只是程序出错,流程的栈,如果我想看别的函数中的一个变量的直,我应该怎么查看啊。 多谢。

by ruchong - C/C++ - 2007-01-26 14:37:38 阅读(1263) 回复(5)

请问: 我有一个core文件,在用gdb调试的时候,希望重新运行程序,但在运行中所需要的数据是从core文件中提取出来的,我该如何去做?先谢谢各位大虾了! 说明:我的程序是对一个大链表操作,而这个大链表在程序每次运行的时候都重新建立。如果直接在gdb运行run,所得到的数据与core中的肯定不同。

by fufeiwxy - C/C++ - 2006-09-21 10:56:47 阅读(1078) 回复(1)

我们在solaris 9上做了一个多线程的socket通讯程序,运行时出现错误,错误随机出现,不能刻意的重现。错误提示也不相同,有SIGSEGV,有SIGILL。 用pmap命令检查进程内存空间,正常运行时信息如下: 00010000 168K r-x-- /usr/dingjf/corehis/Test 00048000 16K rwx-- /usr/dingjf/corehis/Test 0004C000 72K rwx-- [ heap ] FE0F8000 16K rwx-R [ anon ] FE1F8000 16K rwx-R [ anon ] FE2F800...

by dingjf7516 - C/C++ - 2005-04-20 10:40:36 阅读(2686) 回复(5)

如题。 我的板子是arm linux。如果我们的程序出问题,我让他生成core文件,可以跟踪找到问题。 可问题是板子上的空间太小,没法把gdb放上去,只能放上去gdbserver,如果远程调试core的话,我怎么才能调试他? 另外, 当我远程调试一个小的测试程序时,本地的gdb报如下信息 (gdb) target remote 192.168.111.139:7777 Remote debugging using 192.168.111.139:7777 warning: Remote failure reply: E01 0x400009f0 in ?? () 怎么回...

by urapple - C/C++ - 2012-03-07 19:01:03 阅读(8928) 回复(12)

以下是core文件返回的信息: [code] GNU gdb 6.1.1 [FreeBSD] 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 configur...

by veking - C/C++ - 2008-07-19 08:40:41 阅读(18138) 回复(11)

程序总是莫名其妙的退出,coredump,退出时会产生一个core,但是无法重现,请问能从core文件中分析出程序的出错原因吗?

by hpux_epri_new - HP-UX - 2008-02-27 17:13:59 阅读(1819) 回复(1)

(gdb) where #0 0x08088c4d in std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::lower_bound (this=0x1, __k=@0x1) at stl_tree.h:1322 调试core文件,总出现这个错误,不知道大家能否给点提示?我没有检查出来

by msccao - C/C++ - 2008-11-21 00:34:25 阅读(1529) 回复(2)

[wang@wang shellscript]$ /usr/local/arm-linux/bin/arm-linux-gdb -q (gdb) file /home/wang/master/master.exe Reading symbols from /home/wang/master/master.exe...done. (gdb) target remote 192.168.1.203:2323 Remote debugging using 192.168.1.203:2323 Cannot access memory at address 0x0 0x40001b80 in ?? () (gdb) (gdb) info b No breakpoints or watchpoints. (gdb) bt #0 0x40001b80 in ?? () Cannot acces...

by wang9736 - C/C++ - 2007-09-13 16:52:50 阅读(1567) 回复(2)

搜索了几篇文章,谈的很粗略,不知道大家有没有关于这方面的详细资料 先谢谢了

by shappen - C/C++ - 2006-06-19 16:11:48 阅读(974) 回复(1)