NDK-GDB:“没有符号表被载入” [英] ndk-gdb: “No symbol table is loaded”

查看:495
本文介绍了NDK-GDB:“没有符号表被载入”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我仍然NDK-GDB,现在正试图解决含铅我做其他的问题,我的自我回答的xD的主要问题

NDK-GDB告诉我,有我目前的lib任何符号表。这就好比我调试,其中不一样的文件中的仿真器executting该文件。但我重新上传应用程序。它说,还用文件的命令,但文件是只有当我'调试本地程序,对不对?这不适合当我调试远程喜欢与Android进行。

所以,我应该怎么办?我在寻找,因为3天解决方案,但我仍然一无所知。
可能是我要问什么是此消息的其他原因,除了错误的文件的问题?

感谢。
一些信息:
NDK的构建和NDK-GDB堪称proyect的父目录。
Android的API级别10(2.3.3)
Android的NDK R7B

Android.mk文件内容:

  MY_LOCAL_PATH:= $(叫我-DIR)
LOCAL_PATH:= $(MY_LOCAL_PATH)
包括$(CLEAR_VARS)
LOCAL_MODULE:=包装
LOCAL_SRC_FILES:= wrapper.c \\
                aes.c \\
                password.c \\
                sha256.c \\
                aescrypt.c
包括$(BUILD_SHARED_LIBRARY)


解决方案

如果你使用Eclipse /塞阔亚,检查文件的obj /本地/ armeabi / gdb2.setup只包含有效的UNIX结束,线条样式和LT; 0A>

使用含坏的结局线℃的生成的文件; 0D>< 0D>< 0A>,我有消息:


  

没有符号表被加载。使用文件命令。


I'm still with ndk-gdb, now trying to solve the main problem that leaded me to do the other question I self answered xD

ndk-gdb tells me that there is no symbols table for my current lib. This is like the file I'm debugging where not the same as the file the emulator is executting. But i reuploaded the app. It says also "use file command", but file is only when I'am debugging a local program, right? It's not suitable for when I'm debugging remotely like with android.

So What should I do? I'm looking for a solution since 3 days but I'm still clueless. May be I should ask what are the other causes of this message, aside the wrong file problem?

Thanks. Some info: ndk-build and ndk-gdb called in the parent directory of the proyect. android api level 10 (2.3.3) android ndk r7b

Android.mk file content:

MY_LOCAL_PATH := $(call my-dir)
LOCAL_PATH := $(MY_LOCAL_PATH)
include $(CLEAR_VARS)
LOCAL_MODULE := wrapper
LOCAL_SRC_FILES := wrapper.c \
                aes.c \
                password.c \
                sha256.c \
                aescrypt.c
include $(BUILD_SHARED_LIBRARY)

解决方案

If you use Eclipse/Sequoyah, check the file obj/local/armeabi/gdb2.setup contains only valid Unix ending-line style <0A>.

With a generated file containing bad ending lines <0D><0D><0A>, I had the message:

No symbol table is loaded. Use the "file" command.

这篇关于NDK-GDB:“没有符号表被载入”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆