esp-alt-sdk icon indicating copy to clipboard operation
esp-alt-sdk copied to clipboard

gdb issue in linux with Sming

Open sle118 opened this issue 9 years ago • 2 comments

I have documented an issue on a Sming pull request, and narrowed the issue down to Xtensa gdb being out of sync with gdbstub from the pull request. Sming PR #350

using esp-alt-sdk, I cannot debug using the stub, and using esp-open-sdk v1.5 works well.

The culprit seems to be the gdb version difference.

open-sdk has the following version

GNU gdb (crosstool-NG 1.20.0) version 7.5.1 

alt-sdk has the following version

GNU gdb (GDB) version 7.10 

sle118 avatar Feb 18 '16 14:02 sle118

We can try building esp-alt-sdk with gdb 7.5.1. No problem. You can fork the master and change gdb version in the Makefile . That should do the trick

Sent from my iPhone

On Feb 18, 2016, at 6:46 AM, sle118 [email protected] wrote:

I have documented an issue on a Sming pull request, and narrowed the issue down to Xtensa gdb being out of sync with gdbstub from the pull request. Sming PR #350

using esp-alt-sdk, I cannot debug using the stub, and using esp-open-sdk v1.5 works well.

The culprit seems to be the gdb version difference.

open-sdk has the following version

GNU gdb (crosstool-NG 1.20.0) version 7.5.1 alt-sdk has the following version

GNU gdb (GDB) version 7.10 — Reply to this email directly or view it on GitHub.

DimmKirr avatar Feb 18 '16 16:02 DimmKirr

I have cloned the repo and created a new branch. Building now on Ubuntu after which I will test debugging.

sle118 avatar Feb 19 '16 20:02 sle118