I've been developing a project of mine which has an Intel FPGA running a NIOS processor. I've been using printf() for debugging from the NIOS side to the PC. This works ok when using the "NIOS 2 Software Build Tools for Eclipse". However after updating the toolchain to the newest 20.1 there seems to be some kind of bug causing me to not be able to do "run as" preventing me from running the code via Eclipse. The "Run configurations" menu correctly shows my programming cable but the "run" button stays grayed out. The old version of the toolchain I had before had the same bug but I could get around it by replugging the cable or something but not now...
Anyway I'm not too attached to using the Eclipse for anything and I can run everything else from the CLI except I cannot get the JTAG UART printf() output to appear in gdb. Since this works when run from Eclipse I'm sure my project and code are configured correctly so I think I am just missing some command from gdb or gdb-server telling it to display/print the JTAG UART data. I know for some GDBs/processors this command is "monitor semihosting enable" but the NIOS gdb does not seem to know this command. Does anyone know what I need to do to get the printf() stuff to appear in gdb?