Да под avr32Linux есть отладчик мы с ним общаемся по сети. Это будет корректно под avr32Linux. Никакие джитаг под avr32Linux нормально работать не станут, они не отличают вашу программу от работы ядра avr32Linux. "Заточить" отладчик на джитаге под avr32Linux теоретически можно, но ядро операционной системы может быть обновлено, изменено, и т.д. Есть простое решение, смотри далее.
Debugging This section describes how to debug a Linux application running on the STK1000 using the GDB debugger over the network.
Remote debugging with GDB consists of several programs communicating with each other: the application being debugged (the target application); gdbserver, which runs on the STK1000 and controls the target application; and avr32-linux-gdb, which talks to gdbserver over the network and provides a user interface for the developer.
An application should always be compiled without optimization and with debugging symbols in order to debug it. This means that you should make sure the "-g" option is used when compiling the application, and that no "-O", "-O2" or other optimization flags are enabled.
NOTE: Debugging shared applications currently do not work properly. When debugging, link statically by specifying the -static option to the linker. With the example Makefile, this option can be added to the LDFLAGS variable.
Using the "Hello World" application and accompanying makefile described in the previous section on compilation, here's how to set up an AVR32 Linux GDB debug session:
First, on the STK1000, start gdbserver to execute the "Hello World" application and listen for gdb clients on the network port 1024.
~ # gdbserver :1024 ./hello.elf
Process ./hello.elf created; pid = 194
Listening on port 1024
Next, on the build host, start avr32-linux-gdb and instruct it to connect to the gdbserver process on the STK1000.
$ avr32-linux-gdb hello.elf
GNU gdb 6.4
...
(gdb) target remote 192.168.10.152:1024
Remote debugging using 192.168.10.152:1024
0x000010dc in _start ()
(gdb)
Retrieved from http://www.avrfreaks.net/wiki/index.php/Do...nux_Development