π
<-
Chat plein-écran
[^]

GDB Firebird configuration issue

C, C++, ASM...

GDB Firebird configuration issue

Message non lude SlyVTT » 06 Sep 2021, 15:09

Hi,

I am wondering if anybody succeeded in setting up properly a debugging solution for nSpire under WSL(2).

I am either Firebird or GDB server not working and don't know how to get something running smoothly altogether, cause I am reaching the limits of using the fprint method to debug my GUI Toolkit.

I have Firebird running on pure (native) Windows but cannot make it run under WSL (unable to create a rendering context. Even if other graphical apps a running well.

And cannot make GBD server running on windows.

So whatever I do, I do not have both Firebird/GDB running on the same system (WSL or Win10 native).

Do some of you succeeded in making the apps discussing together on win10 or WSL ? A good tutorial would be appreciated.

BR

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
Avatar de l’utilisateur
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 43.6%
 
Messages: 494
Images: 31
Inscription: 19 Jan 2021, 09:41
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
GitHub: SlyVTT

Re: GDB Firebird configuration issue

Message non lude Adriweb » 06 Sep 2021, 15:28

At this point, I'm wondering if it'll be faster/easier to just use a Linux VM for everything :)
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 78.2%
 
Messages: 14652
Images: 1118
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: GDB Firebird configuration issue

Message non lude SlyVTT » 06 Sep 2021, 16:34

Yes agree, just a bit curious cause it may be possible to have this working and hence save some gigabytes.
I am very happy with WSL, so if I could get Firebird/GDB working with it, that would be really wonderful.
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
Avatar de l’utilisateur
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 43.6%
 
Messages: 494
Images: 31
Inscription: 19 Jan 2021, 09:41
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
GitHub: SlyVTT

Re: GDB Firebird configuration issue

Message non lude SlyVTT » 10 Sep 2021, 14:40

So, after some long days and nights spent on this, some good news/explanations.

I never succeeded in making it working under WSL :bang: . This seems to come from IP "translation" making it impossible to communicate between Firebird on Win10 and GDB on WSL. I was not able to create a bridge between both system.

So I decided to install a true Ubuntu 21.04 (the last one) distribution aside Win10 with a dual boot (and it is a pain with Lenovo's computer).
Everything (finally) installed, Ndless SDK properly installed and configured, all building process Ok and ... ... ... still nothing working because of a conflict in packages.
Ubuntu 21.04, in its great care for users, decided to have the GDB with ARM support (arm-none-eabi-gdb version 10.1.0) installed in the default configuration, and it creates a conflict with the Ndless toolchain. This leads to instantaneous crashes on GDB with a segmentation fault. So need to restart from scratch.

In between I made some parallel tests on a former Kubuntu 20.04 Virtual Machine and GDB(ARM) seemed to work without crashing ...

So I then decided then to came back one version earlier, Ubuntu 20.04.3 LTS with minimal install, so what I can properly choose what will be installed later on.

Once again, Ndless SDK installation (need to admit I am very happy of my brand new computer that makes the job in no longer than 15minutes).
Firebird for linux installed, AND .... GDB successfully connected. YES !!! :#gni#: :#vive#:

So as a summary, this is what I tried :

Firebird Win10 with GDB(Arm) WSL : not working due to non identified IP for scrutinizing port :3333
Firebird WSL with GDB(ARM) WSL : not working due to issue with Xserver (firebird cannot initialise)
Firebird Linux Ubuntu 21.04 (standard install) with GDB(ARM) : not working because of conflict with GDB (ARM) package already installed
Firebird Linux Ubuntu 20.04 (minimum install) with GDB(ARM) : Working

I guess the "minimum install" of Ubuntu 21.04 should also work but I am a bit lazy and don't want to have one more session of "full install".

Now the only remaining topic is to have a GUI frontend working for debugging cause GDB is Ok, but a bit tough when using command line.

Ciao

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
Avatar de l’utilisateur
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 43.6%
 
Messages: 494
Images: 31
Inscription: 19 Jan 2021, 09:41
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
GitHub: SlyVTT


Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 4 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Offre de test des nouveautés de rentrée 2024 par Casio. Enseignant(e), reçois gratuitement 1 exemplaire, à ton choix, de la Graph Light ou bien de la Graph Math+
14€ remboursés par Casio sur l'achat de ta calculatrice Graph 35 d'ici le 31 Octobre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 90+E d'ici le 31 Décembre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 25 d'ici le 31 Décembre 2024
8€ remboursés par Casio sur l'achat de ta calculatrice Graph Math+ d'ici le 31 Octobre 2024
Reprise de ton ancienne fx-92 Collège ou Graph 25/35/90 à 3€ peu importe son état. Même non fonctionnelle et donc invendable, même ancienne Graph 35 non conforme aux programmes (pas de Python), même ancienne Graph 25/35 inutilisable aux examens (pas de mode examen) et donc invendable. Etiquette de retour fournie, pas de frais de port à payer.
3€ remboursés par Casio sur l'achat de ta calculatrice fx-92 Collège d'ici le 30 Septembre 2024
5€ de remise immédiate sur l'achat de ta calculatrice TI-83 Premium CE Edition Python chez les revendeurs partenaires
4€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced Edition Python chez les revendeurs partenaires
3€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced chez les revendeurs partenaires
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234567891011121314
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1089 utilisateurs:
>1066 invités
>19 membres
>4 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)