Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

4.1.3.5. nios2-gdb-server

This command starts a GNU Debugger (GDB) JTAG conduit that listens on a specified TCP port for a connection from a GDB client, such as a nios2-elf-gdb client.

Occasionally, you may have to terminate a GDB server session. If you no longer have access to the Nios® II command shell session in which you started a GDB server session, or if the offending GDB server process results from an errant Nios® II SBT debugger session, you should stop the nios2-gdb-server.exe process on Windows platforms, or type the following command on Linux platforms:
pkill -9 -f nios2-gdb-server