Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/138.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse-在rtld.c的dl_main中进行远程调试和segfault 我想通过网络调试我在Eclipse中用C++编写的应用程序。我遵循了本教程,但当调试开始时,它给了我奇怪的分段错误。完整日志: GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". 0xb7fdf0d0 in print_statistics (rtld_total_timep=<optimized out>) at rtld.c:2594 2594 rtld.c: No such file or directory. Program received signal SIGSEGV, Segmentation fault. 0xb7fe129f in dl_main (phdr=0x8048034, phnum=9, user_entry=0xbffff6ec, auxv=0xbffff7e0) at rtld.c:2182 2182 in rtld.c GNU gdb(Ubuntu 7.9-1ubuntu1)7.9 版权所有(C)2015免费软件基金会。 许可证GPLv3+:GNU GPL版本3或更高版本 这是自由软件:您可以自由更改和重新发布它。 在法律允许的范围内,不存在任何担保。键入“显示复制” 和“显示保修”了解详细信息。 此GDB配置为“i686 linux gnu”。 键入“显示配置”以获取配置详细信息。 有关错误报告说明,请参阅: . 在线查找GDB手册和其他文档资源,网址为: . 要获得帮助,请键入“帮助”。 键入“apropos word”搜索与“word”相关的命令。 rtld.c处的打印统计数据(rtld\U total\U timep=)中的0xb7fdf0d0:2594 2594 rtld.c:没有这样的文件或目录。 程序接收信号SIGSEGV,分段故障。 rtld.c:2182处dl_main中的0xb7fe129f(phdr=0x8048034,phnum=9,用户_条目=0xbffff6ec,auxv=0xbffff7e0) 2182英寸rtld.c_C++_Eclipse_Gdb_Remote Debugging_Gdbserver - Fatal编程技术网

Eclipse-在rtld.c的dl_main中进行远程调试和segfault 我想通过网络调试我在Eclipse中用C++编写的应用程序。我遵循了本教程,但当调试开始时,它给了我奇怪的分段错误。完整日志: GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". 0xb7fdf0d0 in print_statistics (rtld_total_timep=<optimized out>) at rtld.c:2594 2594 rtld.c: No such file or directory. Program received signal SIGSEGV, Segmentation fault. 0xb7fe129f in dl_main (phdr=0x8048034, phnum=9, user_entry=0xbffff6ec, auxv=0xbffff7e0) at rtld.c:2182 2182 in rtld.c GNU gdb(Ubuntu 7.9-1ubuntu1)7.9 版权所有(C)2015免费软件基金会。 许可证GPLv3+:GNU GPL版本3或更高版本 这是自由软件:您可以自由更改和重新发布它。 在法律允许的范围内,不存在任何担保。键入“显示复制” 和“显示保修”了解详细信息。 此GDB配置为“i686 linux gnu”。 键入“显示配置”以获取配置详细信息。 有关错误报告说明,请参阅: . 在线查找GDB手册和其他文档资源,网址为: . 要获得帮助,请键入“帮助”。 键入“apropos word”搜索与“word”相关的命令。 rtld.c处的打印统计数据(rtld\U total\U timep=)中的0xb7fdf0d0:2594 2594 rtld.c:没有这样的文件或目录。 程序接收信号SIGSEGV,分段故障。 rtld.c:2182处dl_main中的0xb7fe129f(phdr=0x8048034,phnum=9,用户_条目=0xbffff6ec,auxv=0xbffff7e0) 2182英寸rtld.c

Eclipse-在rtld.c的dl_main中进行远程调试和segfault 我想通过网络调试我在Eclipse中用C++编写的应用程序。我遵循了本教程,但当调试开始时,它给了我奇怪的分段错误。完整日志: GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". 0xb7fdf0d0 in print_statistics (rtld_total_timep=<optimized out>) at rtld.c:2594 2594 rtld.c: No such file or directory. Program received signal SIGSEGV, Segmentation fault. 0xb7fe129f in dl_main (phdr=0x8048034, phnum=9, user_entry=0xbffff6ec, auxv=0xbffff7e0) at rtld.c:2182 2182 in rtld.c GNU gdb(Ubuntu 7.9-1ubuntu1)7.9 版权所有(C)2015免费软件基金会。 许可证GPLv3+:GNU GPL版本3或更高版本 这是自由软件:您可以自由更改和重新发布它。 在法律允许的范围内,不存在任何担保。键入“显示复制” 和“显示保修”了解详细信息。 此GDB配置为“i686 linux gnu”。 键入“显示配置”以获取配置详细信息。 有关错误报告说明,请参阅: . 在线查找GDB手册和其他文档资源,网址为: . 要获得帮助,请键入“帮助”。 键入“apropos word”搜索与“word”相关的命令。 rtld.c处的打印统计数据(rtld\U total\U timep=)中的0xb7fdf0d0:2594 2594 rtld.c:没有这样的文件或目录。 程序接收信号SIGSEGV,分段故障。 rtld.c:2182处dl_main中的0xb7fe129f(phdr=0x8048034,phnum=9,用户_条目=0xbffff6ec,auxv=0xbffff7e0) 2182英寸rtld.c,c++,eclipse,gdb,remote-debugging,gdbserver,C++,Eclipse,Gdb,Remote Debugging,Gdbserver,我不知道怎么了 我的设置是 Ubuntu 15.04,gcc版本4.9.2,gdb 7.9,EclipseMars 目标计算机: Ubuntu 14.04.2 LTS、gdb 7.7.1、gdbserver 7.7.1

我不知道怎么了

我的设置是
Ubuntu 15.04,gcc版本4.9.2,gdb 7.9,EclipseMars

目标计算机:
Ubuntu 14.04.2 LTS、gdb 7.7.1、gdbserver 7.7.1