Created attachment 130233 [details]
Debug Console from Netbeans
I'm using Netbeans on Linux to debug a NiosII (Softcore CPU from Altera) system.
Product Version: NetBeans IDE Dev (Build 201301120001)
Java: 1.7.0_11; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_11-b21
System: Linux version 2.6.38-16-generic running on amd64; UTF-8; de_DE (nb)
This uses a nios2-gdb-server which maintains the JTAG connection, and a nios2-elf-gdb together with the gdbserver plugin of Netbeans. The attach command is "remote 127.0.0.1:1234".
The problem is that the pause button in Netbeans does not work.
When I manually send a "kill -s INT <pid-of-nios2-elf-gdb>" Netbeans shows a "DS1008.elf - Signal Caught" pop up:
Signal received: SIGTRAP (Trace/breakpoint trap)
For program DS1008.elf, pid -1
After pressing "Discard & Pause" the program is paused and I can debug it as expected.
This might be similar to bug 224840
really a duplicate, let's keep all comments regarding the issue in one place, I will add a reference into bug 224840
*** This bug has been marked as a duplicate of bug 224840 ***