forked from Imagelibrary/binutils-gdb
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:
@@ -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 (),
|
||||
|
||||
Reference in New Issue
Block a user