Harshit Sharma wrote:
Hi Sindhoor,
Thanks for your reply. I added the debug symbols using the following command $ add-symbol-file build/cbfs/fallback/ramstage.debug 0x0
Now I am able to set a breakpoint at a particular line number. But when I enter 'continue', it just never reaches that breakpoint. (I tried with both Gdb Wait enabled and disabled)
What could be wrong?
-Harshit
It could be possible a new child process might have been forked. If that's the case set gdb to follow child process.
In any case, I'd advise you to break on the address instead of line numbers.