Re: [RFA 2/3] Demote to sw watchpoint only in update_watchpoint

Thiago Jung Bauermann
2011-05-04T22:22:43Z

On Wed, 2011-05-04 at 23:30 +0300, Eli Zaretskii wrote:
> > From: Thiago Jung Bauermann <bauerman@br.ibm.com>
> > Cc: uweigand@de.ibm.coma, gdb-patches@sourceware.org
> > Date: Wed, 04 May 2011 16:12:24 -0300
> >
> > So the problem is still there. It's not better, but not worse either.
> > The output is slightly different because of the better error handling
> > this patch introduces. Thus, IMHO overhauling resources handling is not
> > a prerequisite or even directly related to this patch (or the next one
> > in the series). The acceptance or rejection of this patch is orthogonal
> > to that.
>
> Fair enough. I withdraw my objections to the patch.

Thanks!

> > Having said that, I agree that it's a shame that GDB can't keep track of
> > debug hardware availability, something that one would expect to be among
> > the basic tasks of a debugger. So if we can agree on how GDB should deal
> > with the problem, I'm willing to work on it on a best effort basis
> > (meaning that I wouldn't have much time to dedicate to this, but would
> > eventually make progress).
>
> Thank you. I think Pedro's idea is already on the table, and no one
> objected to it. If it is feasible, I'd say let's do it that way.

Great. I'll implement it as soon as I make sure I understood it
correctly. :-)
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center