用GDBSERVER远程调试遇到的问题
各位工程师们,我现在遇到了一个问题,就是我用gdbserver远程调试时遇到如下问题.先说我的目标板,目标板采用s3c2410,linux内核为2.4.18,即为韩国那帮做的那内核,宿主机采用redhat9,ip:10.10.10.1,目标板IP为10.10.10.2,用nfs 挂载到主机上,gdbsever采用5.2.1,当我把gdbserver和hello文件考入到目标板的tmp上后,在目标板的超级终端输入./gdbserver 10.10.10.1:1234 hello时,提示说modprobe: modprobe: Can't locate module binfmt-464c
modprobe: modprobe: Can't locate module binfmt-464c
Out of Memory: Killed process 27 (sh).
Terminated
这个问题看得我真的不知道如何解决,请各位工程师们指点,不胜感激 请用file <yourfile>看看您编译出来的是什么文件格式 我用file hello 看了一下,它的输出信息如下:
hello: ELF 32 bit LSB executable,ARM version 1(arm for GNU/Linux 2.0.0),dynamically linked (uses shared libs) ,not stripped 我把我的hello 程序在目标板上运行,能正常的运行.但是一加上gdbserver就不行,不知是什么原因
页:
[1]