2016-09-29 12:33 AM
Hi !
Several years ago, the source of GDB was availabe as a download from ST (found in the forum, but not available anymore). I think nobody achieved to get the debugger running in Eclipse due to the missing MI interface yet.
The STM8 is still a great product (and will ever be) but it is not possible to use GDB7 outside STVD. ST did not update the code since years.
And ST does not provide the (old and former downloadable) source anymore. Why? I also did not get the code on request.
We are buying ST72, STM8 and STM32 for more than 12 years now! I still have to use STVD for debugging with STLINK (I know Raisonnance of course).
I will stick to COSMIC in any case. Presently I code in Eclipse with all available plugins (egit, Bugzilla etc.) with some workarounds (suppress the parser @-issue), auto compile on save and then debug with STVD with the same sources in the workspace. It works fine because I am used to it...
We use Atollic and STLINK for STM32, perfect. Why does ST not provide a working debugger for STM8 with SWIM??STM8 is a highrunner. But the IDEs with debugging support are oldskool due to lack of features.
I would like to get the source to implement the missing MI in GDB since ST does not do it.
Any suggestions? Any source code available?
2016-10-20 11:55 PM
2016-10-21 04:25 PM
Hi HaJo
Im actually trying to do the same thing. Please send me an email to infoHereShouldBeTheAtCharacteRblselectronicsANDTHEDOTch I will provide you the requested Source-Codes :) Regards2016-12-21 12:16 AM
Is there any news on this one?
The source code package available here:
Is outdated. It contains the GDB with ST internal version v3.9.16 while they are shipping the version 3.9.16 with the current STVD...
GDB is an open source tool licensed with the terms of GPL v2. This require to share the source code with the community:
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights thatyou have. You must make sure that they, too, receive or can get thesource code. And you must show them these terms so they know their rights.2017-02-15 12:23 AM
@
managed to get the latest sources from ST.Thank you very much to him for sharing it and shame on ST for not publicly making it available.
I have put it here:
https://gitlab.com/martonmiklos/stm8-gdb/tree/v3.10.2
It could be easily compared to the latest available by diffing that branch to master.