Debugging in Beaglebone AI-64

Hi all,
For BeagleBone Black, debugging was completed using Code Composer Studio with a gdb server (gcc-linaro-5.3-2016.02-i686-mingw32 arm-linux-gnueabihf\bin\arm-linux-gnueabihf-gdb.exe) for C applications. Do similar built-in debugging options exist in BeagleBone AI-64? If so, which version of Linaro’s toolchain is needed? Or is any additional hardware required? I also see a TAG-Connect pad labeled JTAG/J11 on the AI-64.
Thanks!!!

If you are trying to debug C in Linux, then just use gdb as you did for the BBB.

The TAG-Connect is really only going to be useful if you are doing bare metal programming.

I tried with the same GDB, but it’s not working. I think BBB is 32-bit and ai-64 is 64-bit. Is there any issue related to that?"

Thanks!!!

If you can compile the code with code composer and it runs it should be able to debug it.

If you compile on the AI64 and then try to debug with CC and whatever GDB version it has, then maybe the GDB is not 64bit aware.

32bit or 64bit should not matter. GDB should be able to debug either.

Have you tried launching gdb from the command line and attaching to the remote system. It might give you some better information as to why it is not working.

Ok, I will try. Need to install gdb on ai-64 also?

Thanks!!!

When I tried to run with the same GDB version, an error occurred: 'Could not start GDB server on remote host’

Thank You!!!

Does the AI64 have gdbserver installed ?

I would guess that your version of linaro compiler might be too old. It is possible that version 5.3 predates 64bit arm support.

Have you tried downloading a newer version. They are currently on version 13.

gdb server not installed in ai-64 and how to install gdb server on ai-64?

Thanks!!!

Are there any other methods for debugging AI-64?

Thanks!!!