Re: [patch 3/4] Fix hw watchpoints: remove dead code [update]

Joel Brobecker
2009-10-07T18:51:27Z

> 2009-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * i386-nat.c (i386_stopped_by_hwbp): Remove.

Thanks for taking care of that. From what I can tell, this function
has never been used ever since it was introduced in 2001! (for everyone's
interest, if you are wondering why we like git so much, git log -p --grep
gave me that answer within a couple of minutes:).

> gdb/testsuite/
> 2009-10-03 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.base/watchpoint-hw.exp: New variable breakline.
> (hbreak, continue to break-at-exit after hbreak): New tests.

This part is approved. The issue is that the testcase is dependent
on another patch which is still pending. You can either merge that
patch into the one it depends on, but I'd rather have a separate
small testcase for hbreak. That way, if hbreak alone breaks, we
only have to look at that, rather than start by isolating the hbreak
problem from the rest of the testcase.

--
Joel