Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI must be doing something wrong. I cannot seem to get the breakpoints to work. I see this in the Console:
Using cable "USB-Blaster [USB-1]", device 1, instance 0x00 Pausing target processor: OK Reading System ID at address 0x080002A8: ID value verified Timestamp value was not verified: value was not specified Listening on port 10249 for connection from GDB: 59saccepted <<< there 3 boxes between 59s and accepted I pause the execution and see this in the stack: BeMicroSDK [Nios II Hardware] Altera CDI GDB Debugger (1/17/12 7:52 AM) (Suspended) Thread [1] (Suspended: Signal 'SIGTRAP' received. Description: Trace/breakpoint trap.) 6 alt_find_file() alt_find_file.c:74 0x0403bdb0 5 alt_flash_open_dev() alt_flash_dev.c:55 0x0401534c 4 read_half_word_inc() altera_ro_zipfs.c:120 0x040219d0 3 check_file_header() altera_ro_zipfs.c:138 0x04021a2c 2 check_file_header() altera_ro_zipfs.c:160 0x04021a80 1 find_file_entry_by_name() altera_ro_zipfs.c:342 0x04021da4 <terminated, exit value: 0>nios2-download (1/17/12 7:52 AM) nios2-download (1/17/12 7:52 AM) nios2-elf-gdb (1/17/12 7:52 AM) Why can't I break at alt_main? Why don't the breakpoints work? There must be a switch I missed.