This is the mail archive of the gdb@sources.redhat.com 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] |
Precisely. It sounds like the kernel can do a more accuarate job than gdbserver can easily. For instance, if we single-step a task, and detach leaving it stopped, and attach another debugger - that debugger won't have the state to know whether the task was last stepped or trapped.
For example, in case of a PTRACE_CONT I set the single-step PC to 0 to disable single-stepping (similar to what the m68k does).
Ah, I think I see. I don't remember what your original question was though :-)
-- Orjan Friberg Axis Communications
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |