This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

A question about All-stop and Non-stop


Dose GDB in the All-stop mode has the same problem as in the Non-stop
mode when continues over a breakpoint instruction?

When GDB continues over a breakpoint instruction in the Non-stop mode,
 replacing the breakpoint instruction with the original instruction
may cause the other running threads can't hit the breakpoint. That's
why GDB needs the displaced instructions. But what about the All-stop
mode, dose GDB has the same problem in this mode?

If it does, how dose GDB solve the problem? It seems there's no trick
like the displaced instructions before Non-stop's debut.

Can anyone help?

Thank you!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]