Remove frame_id_eq
This replaces frame_id_eq with operator== and operator!=. I wrote this for a version of this series that I later abandoned; but since it simplifies the code, I left this patch in. Approved-by: Tom Tomey <tom@tromey.com>
This commit is contained in:
parent
f91822c2b9
commit
a0cbd6505e
17 changed files with 65 additions and 79 deletions
|
@ -5325,7 +5325,7 @@ bpstat_check_breakpoint_conditions (bpstat *bs, thread_info *thread)
|
|||
breakpoint or a single step breakpoint. */
|
||||
|
||||
if (frame_id_p (b->frame_id)
|
||||
&& !frame_id_eq (b->frame_id, get_stack_frame_id (get_current_frame ())))
|
||||
&& b->frame_id != get_stack_frame_id (get_current_frame ()))
|
||||
{
|
||||
infrun_debug_printf ("incorrect frame %s not %s, not stopping",
|
||||
get_stack_frame_id (get_current_frame ()).to_string ().c_str (),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue