I am trying to debug an application remotely in Eclipse. When I start debugging, the application is deployed and the gdbserver is started on the target. This seems to work automatically without any mistakes, but then following error occurs:
'Launching helloworld Build(GNU)' has encountered a problem.
Could not determine GDB version using command:
/usr/bin/gdb --version
When I expand <<Details in Eclipse this is shown:
Could not determine GDB version using command:
/usr/bin/gdb --versionFatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
In a console on the target /usr/bin/gdb --version is showing me the version and when I open a Python shell I can import encodings without errors.
Does anybody know where this error comes from? I wasn't sure about how to tag this question since I have no clue in which area the solution will be.
What I tried so far:
export commands to Python./etc/profile.bitbake -e python | grep "^PACKAGES=" : Inserted every python package into my image recipe via IMAGE_INSTALL_append.