Forum Discussion
Altera_Forum
Honored Contributor
11 years agowith this particular example the variable i is probably in a register, which gdb has no way of knowing. Look at the registers when that code is running. If you step one instruction at a time you should be able to deduce which register holds the variable i. Changing that register will break the loop.