AutomationD / esp-alt-sdk

❌This repo is not maintained anymore❌
20 stars 6 forks source link

gdb issue in linux with Sming #23

Open sle118 opened 8 years ago

sle118 commented 8 years ago

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 
AutomationD commented 8 years ago

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 notifications@github.com 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.

sle118 commented 8 years ago

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