This is the mail archive of the gdb-patches@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: [RFA 2/3] Demote to sw watchpoint only in update_watchpoint


On Tue, 2011-05-03 at 23:29 +0300, Eli Zaretskii wrote:
> > From: Pedro Alves <pedro@codesourcery.com>
> > Date: Tue, 3 May 2011 19:12:42 +0100
> > Cc: bauerman@br.ibm.com,
> >  uweigand@de.ibm.com
> > 
> > I'm proposing getting rid of target_can_use_hardware_watchpoint
> > as being part of the core accounting infrastructure.
> 
> I'm fine with heading that way.  It will certainly be cleaner than the
> current mess, which needs a face-lift every few months.

For this scheme to work, GDB will have to be changed to use
always-inserted mode exclusively, right? Or at least insert all
breakpoints and watchpoints when probing whether a new
breakpoint/watchpoint can be created.
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


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