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]

Re: Why no hwatch command in gdb ?


Jan Kratochvil <jan.kratochvil@redhat.com> writes:

> [...]
> But it being discussed for upstream kernel that the DR registers access via
> PTRACE_POKEUSER is broken anyway and GDB should use the existing hardware
> watchpoints support in Linux kernel perf via some higher level interface
> (still probably through the ptrace syscall).

While a new kernel interface wouldn't be able to fabricate any
hardware-watchpoint resources after they're exhausted, a properly
designed one should be able to evaluate software watchpoints much
faster.

- FChE


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