1

I'm using Sequoyah to debug native code on Android under eclipse. It works fine if libraries were built with NDK and were located in the project's folder. But there are some libs which were built on another machine. I have its sources, object files and libs are debuggable, but gdb couldn't find sources paths. Any ideas?

2 Answers 2

2

You can set up path substitution in gdb.

set substitute-path from to

Sign up to request clarification or add additional context in comments.

1 Comment

thanks for help, seems it's right way, but how to execute this from eclipse. or should i run separately GDB, configure it and somehow save the settings? As i understand, sequoyah-plugin runs and configure gdb, and is it possible to interfere with this process?
0

I've got it! In eclipse go to Debug Configurations, Source tab and add Path Mapping. In this table you could map compile paths to current paths.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.