This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch 0/4] Fix hw watchpoints #2
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Mon, 16 Nov 2009 04:35:25 +0100
- Subject: [patch 0/4] Fix hw watchpoints #2
Hi,
this is a repost of:
[patch 0/4] Fix hw watchpoints
http://sourceware.org/ml/gdb-patches/2009-08/msg00254.html
The mapping of patches:
August 1/4 -> 1/4
August 2/4 -> 2/4 - the add-on part is now separate, the add-on was:
http://sourceware.org/ml/gdb-patches/2009-10/msg00075.html
-> 3/4
August 3/4 -> already accepted in FSF GDB
August 4/4 -> 4/4
There was a discussion about changing the target vector (API) where some form
of such change was posted as:
http://sourceware.org/ml/gdb-patches/2009-10/msg00235.html
It was also later discussed at:
[RFC] design question re: watchpoint target methods
http://sourceware.org/ml/gdb-patches/2009-10/msg00684.html
But according to the discussion with Joel Brobecker this API change is now
dropped/postponed and this hw-watchpoints post #2 uses the current HEAD target
vector (API).
Regression tested on {x86_64,x86_64-m32,i686}-fedora12-linux-gnu.
------------------------------------------------------------------------------
hw watchpoints currently have multiple issues for various corner cases, such
as false hits, hits shown by SIGTRAP with no watchpoint printed, crashing
forked processes, hanging fork etc.
While the non-stop mode was regression tested by the GDB testsuite I did not
consider much how the changes affect it.
Thanks,
Jan