[RFA] hardware breakoints in target vector

Andrew Cagney ac131313@ges.redhat.com
Thu Aug 1 14:04:00 GMT 2002


+  return ((LONGEST)byte_count <= REGISTER_SIZE);

BTW, I think the conversion of the macro to a function made the cast 
redundant.

> This is the first patch for inserting hardware breakpoints into the
> target vector. let me know if it's all right.
> 
> grace
> 
> 2002-07-30  Grace Sainsbury  <graces@redhat.com>
> 
> 	* target.h: Add to_insert_hw_breakpoint, to_remove_hw_breakpoint,
> 	to_insert_watchpoint, to_remove_watchpoint,
> 	to_stopped_by_watchpoint, to_stopped_data_address,
> 	to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint to
> 	target vecctor. Define their corresponding macros so they call
> 	them.
> 	
> 	* target.c: Add default and debug versions of for
> 	to_insert_hw_breakpoint, to_remove_hw_breakpoint,
> 	to_insert_watchpoint, to_remove_watchpoint,
> 	to_stopped_by_watchpoint, to_stopped_data_address,
> 	to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint.
> 

Yes, ok.  As Eli has noted, I guess updating the doco is one of those 
other patches.

I see you've picked up gdb/161, ya!

Andrew



More information about the Gdb-patches mailing list