[Bug 157755] [patch] gdb(1) hardware watchpoints do not work correctly in multi-threaded programs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 28 01:40:46 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=157755

--- Comment #7 from John Baldwin <jhb at FreeBSD.org> ---
Note that in theory dragonfly also supports PT_GET/SETDBREGS (though upstream
gdb does not have a config for Dragonfly), so I think it should stay in the
pan-BSD files rather than move to a FreeBSD-specific file.  I ended up doing
something similar, but using an inline iteration rather than iterate_threads()
(and I have an initial patch to move the debug register stuff into
x86bsd-nat.c).

This is the patchset I plan to post for review upstream:

https://github.com/bsdjhb/gdb/compare/thread_dbreg

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list