Hi,
I am trying to set a breakpoint by using jlink gdbserver monitor command from gdb :
monitor setbp <Address>
The jlink gdbserver shows that the breakpoint has been set but doing "info b" in gdb doesn't show the breakpoint. Also if I continue the program execution by using "monitor go" then gdb never hits that breakpoint or in other words gdb doesn't get any notifications about monitor commands actions. Is this expexted ?
If yes then how should I use monitor commands such that gdb knows about the status.
Also if I set my "pc" using monitor reg pc = 0x..... , the gdbserver shows me that the pc has been set to the new address but doing a "info registers" from gdb doesn't update the pc value. I am really confused. Plz help.
I am trying to set a breakpoint by using jlink gdbserver monitor command from gdb :
monitor setbp <Address>
The jlink gdbserver shows that the breakpoint has been set but doing "info b" in gdb doesn't show the breakpoint. Also if I continue the program execution by using "monitor go" then gdb never hits that breakpoint or in other words gdb doesn't get any notifications about monitor commands actions. Is this expexted ?
If yes then how should I use monitor commands such that gdb knows about the status.
Also if I set my "pc" using monitor reg pc = 0x..... , the gdbserver shows me that the pc has been set to the new address but doing a "info registers" from gdb doesn't update the pc value. I am really confused. Plz help.