ChinaUnix.net
相关文章推荐:

gdbserver

通过nfsroot 然后./gdbserver 后提示/bin/sh:./gdbserver :not found 有人知道解决方法吗。。

by a331397964 - 嵌入式开发 - 2012-10-25 15:00:26 阅读(912) 回复(0)

相关讨论

alias mips-gdb='mips-linux-gdb6.8 -ex "target remote $TARGET_BOARD:2000" -ex "set solib-absolute-prefix /opt/ea-linux/zevio/rootfs0" ' mips-gdb irrx-sample gdb> b main gdb> c 1. gdbserver :2000 irrx-sample 2. mips_4KC-gdb irrx-sample gdb> target remote 172.16.22.231:2000 gdb> b main gdb> c 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/19273/showar...

by soararing - Linux文档专区 - 2009-03-30 17:12:17 阅读(688) 回复(0)

在开发嵌入式系统时,调试往往是一大难题。面试过不少嵌入式linux工程师,当问及调试手段时,他们的调试手段一般是两种:首先是在PC上的模拟环境中 运行,若有问题,可以很方便的调试。其次,若在板子上运行时才出错,就用printf输出log信息,根据log信息定位错误。有少部分人用 gdbserver调试板子上的程序,但问到如何在共享库里设置断点时,都说没有办法。   去年,Tinyx的一个内存越界BUG,花了我2天时间。gcc的一个浮点...

by glqg - Linux文档专区 - 2008-05-08 16:19:32 阅读(1599) 回复(0)

本帖最后由 yshihyu 于 2012-11-04 17:38 编辑 我是在android 手机用 gdb , remote gdbserver 但是有问题函数是手机开机后会跑到, 但只有跑过一次 因为remote gdbserver 要先让手机开机后才 在配置 gdbserver :5039 --attach pid 但是之后在与GDB server连接 target remote :5039 已经跑过 , 下断点在函数也没作用 请问什么有办法可以解决这问题吗? 谢谢

by yshihyu - C/C++ - 2012-11-04 17:39:08 阅读(1191) 回复(1)

(gdb):target remote 10.3.37.84:1234 remote debugging using 10.3.37.84:1234 warning: unable to find dynamic linker break functiong GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. 0x2aaa8a30 in ??() 等其他无法加载lib的错误情况 (gdb) set solib-search-path lib_path(交叉编译库路径) 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chi...

by jonry - Linux文档专区 - 2008-01-15 14:27:10 阅读(971) 回复(0)

在arm板子上运行gdbserver, pc上运行arm-linux-gdb pc上的信息: [root@localhost ffmpeg-0.4.8]# arm-linux-gdb ffmpeg GNU gdb 6.4 Copyright 2005 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 warrant...

by dida_327 - 内核/嵌入技术 - 2006-07-21 17:10:55 阅读(1453) 回复(5)

在arm板子上运行gdbserver, pc上运行arm-linux-gdb pc上的信息: [root@localhost ffmpeg-0.4.8]# arm-linux-gdb ffmpeg GNU gdb 6.4 Copyright 2005 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 warrant...

by dida_327 - 内核源码 - 2006-07-21 17:10:55 阅读(2348) 回复(5)

这是怎么回事呀

by 重远2012 - 嵌入式开发 - 2013-03-19 15:01:57 阅读(1018) 回复(3)

从ports中目前找不到gdbserver,请问是否就意味着在freebsd上不支持呢?

by faramita10 - BSD - 2012-04-08 09:52:46 阅读(1505) 回复(2)

最近才接触Linux,现在做一个程序需要进行交叉编译,遇到调试问题就不知道怎么办了,上网查了说可以用gdbserver进行调试,可是在网上看了好多东西觉得很乱,遇到几个问题: 1、如果我安装Linux后,环境中存在gdbserver的可执行程序,我还要按照网上说的方法进行安装吗?如果不需要我该怎么使用? 2、按照网上的方法进行配置,请问 ./configure --target=arm-linux....... 中的arm-linux是什么意思?是编译器的名字吗?它用的编译器...

by rexue137 - 内核源码 - 2010-04-01 21:34:29 阅读(963) 回复(0)

学习了 ly44770圈主的blog:http://blog.chinaunix.net/u/22630/showart_298299.html, 在micro2440上测试通过,作此文笔记。 大概步骤是:下载gdb源码编译,将gdbserver拷贝到arm板上运行,启动主机上的gdb开始调试。 1、下载gdb源码 一个可用地址是:http://ftp.gnu.org/gnu/gdb/。我下载的是 gdb-6.6.tar.bz2(和ly44770的一样)。 2、解压gdb源码 比如我的源码压缩包路径是/home/nzq/arm_rd/gdb-6.6.tar.gz > cd /home/nzq/a...

by nizqsut - Linux文档专区 - 2009-11-22 01:57:45 阅读(617) 回复(0)