Omnimaga

Calculator Community => TI Calculators => Calculator C => Topic started by: AdelCraft on April 01, 2020, 08:05:46 pm

Title: How to debug program in firebird-emu with GDB?
Post by: AdelCraft on April 01, 2020, 08:05:46 pm
Hi,

I'm note very familiar with GDB. I'm not able to debug my ndless application with GDB. I managed to connect to firebird-emu on port 3333 runnng this command:
Code: [Select]
arm-none-eabi-gdb -ex "target remote localhost:3333" myprogram.elfI have built the program with the -g flag to tell nspire-gcc to generate debug symbols. Now how do I debug? I tried typing the GDB command "run", but it says that the remote target doesn't supports "run". I tried setting a breakpoint, typing "continue" and running the program from the calculator's file explorer, but it didn't breaked.

Could someone who has succeeded show me an example of a debugging session?
Thanks.