[patch 3/4] Fix hw watchpoints #2: reordered / simultaneously hit

Pedro Alves pedro@codesourcery.com
Wed Nov 18 11:36:00 GMT 2009


On Wednesday 18 November 2009 10:08:10, Jan Kratochvil wrote:
> > "watchpoint_hit_p" might be simpler?
> 
> While I agree the "_p" suffix matches better the GDB coding style I am still
> curious after the years - what does that "_p" mean?  Guessing "_present"?

"predicate".








(((

FTR, remote.c names these variables as:

  int stopped_by_watchpoint_p;
  CORE_ADDR watch_data_address;

)))

-- 
Pedro Alves



More information about the Gdb-patches mailing list