Eclipse remote gdbserver debug error

I was getting this error:

Error during file upload.
Could not write file: /siam/IPController/ipcontroller/Design/firmware/ipcontroller/app/Debug/ipcontroller.
Could not write file: /siam/IPController/ipcontroller/Design/firmware/ipcontroller/app/Debug/ipcontroller.
Could not write file: /siam/IPController/ipcontroller/Design/firmware/ipcontroller/app/Debug/ipcontroller

Searching in the internet I found this thread:

But with no solution.

After many hours debugging it with no progress (because Eclipse doesn’t show what is happening behind the scene), I decided to run gdbserver and gdb manually like I did some years ago:

Then to my surprise the command “arm-linux-gnueabihf-gdb” failed to run reporting that didn’t find “” lib.

Then I installed the right package:

$ sudo apt install libncurses5

And the eclipse worked to debug.

It is strange because I already had the libncurses5-dev package installed.

2 thoughts on “Eclipse remote gdbserver debug error

  1. Hi acassis

    Depending on Linux Distribution and Version, you may also need to install libncurses5 beside libncurses5-dev package to make debugging with Eclispe work.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s