Altera_Forum
Honored Contributor
20 years agogdb and daig_printf()
Is it possible to use jtag_uart with gdb, i.e. I want to use gdb via nios2-gdb-server --tcpport=2343 and still use diag_printf over the same jtag port. It looks like it should be possible in the config by setting CYGSEM_HAL_DIAG_MANGLER to gdb and CYGDBG_HAL_DIAG_TO_DEBUG_CHAN to True.
Whatever combination I use fails to work, I might be something to do with my app not starting when I use diag_printf() until I run nios2-terminal Help! Thanks Robert.