GUI front-end for the arm-none-eabi-gdb

Asked by Chandler

Hi, experts:

The gdb is a great tool to debug, once it equips with a GUI front-end, it will be perfect. I know there is "tui" for a common gdb, but in the arm version, it is not supported. I believe even tui is quite helpful. Can we think about adding it?

I also checked the insight debugger, it hardly works in windows.

Does anyone have an suggestion?

Thanks,
Chandler

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
Chandler
Solved:
Last query:
Last reply:
Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#1

Hi Chandler,

tui is available in our toolchain except for the Windows version because we would need to include ncurses in our toolchain. On Linux and Mac OS X you can use it by running the debugger in this way: arm-none-eabi-gdb -tui.

Best regards.

Revision history for this message
Chandler (toliuch) said :
#2

Hi, Thomas:

Thank you very much!

Unfortunately, I have to work under windows. I checked the cygwin version of GDB, and found it supports TUI. If we feel difficult to support TUI, can you confirm me that the MI is fully supported by our GDB?

If the MI is well supported, I can have a look to the MI based front end, such as emacs.

Thanks,
Chandler

Revision history for this message
Chandler (toliuch) said :
#3

Hi,

I finally found a working way to debug in GUI although it is not perfect yet.

eclipse + GDB + JLink GDB server

not perfect part: I have to use command line to set breakpoint, instead of double click on the source code editor.

Br.
Chandler

Revision history for this message
hugo (hugo-habicht) said :
#4

Hi,

I am also looking for an ARM GUI debugger but outside of Eclipse.

The arm-none-eabi-gdb -tui Thomas mentioned above is going in the right direction but is a bit crude. I tried to compile insight/gdb but failed so far.

I also came across https://github.com/cyrus-and/gdb-dashboard which looks fine for what I want. Unfortunately when I copied the .gdbinit file I got an error message:

   Scripting in the "Python" language is not supported in this copy of GDB.

Is there any way to include pyhton into the arm-none-eabi-gdb? If not where can I get the source? And are there any configure options / compile instruction available?

Regards,

Revision history for this message
Tejas Belagod (belagod-tejas) said :
#5

Hi Hugo,

Have you tried using arm-none-eabi-gdb-py ?

Thanks,
Tejas.

Revision history for this message
hugo (hugo-habicht) said :
#6

Hi Tejas,

no, did not see it in the bin directory.... embarassing...

Great, thank you for your reply, works perfect !

Kind Regards,