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: [PATCH] testsuite: Add (extensive) hardware breakpoint testing


On Friday 11 November 2011 18:59:10, Maciej W. Rozycki wrote:
>  Well, OOC I looked at the relevant source and the bug (and consequently 
> the fix) is quite obvious -- the debug registers are only actually pushed 
> down to hardware on data breakpoints and not execution breakpoints.

Ugh, my fault...

> 2011-11-11  Maciej W. Rozycki  <macro@codesourcery.com>
> 
> 	gdb/
> 	* i386-nat.c (i386_insert_hw_breakpoint): Call 
> 	i386_update_inferior_debug_regs.
> 	(i386_remove_hw_breakpoint): Likewise.

Okay.  Thanks!

-- 
Pedro Alves


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