mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 21:34:46 +08:00
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:
@ -229,7 +229,7 @@ default_frame_unwind_stop_reason (struct frame_info *this_frame,
|
||||
{
|
||||
struct frame_id this_id = get_frame_id (this_frame);
|
||||
|
||||
if (frame_id_eq (this_id, outer_frame_id))
|
||||
if (this_id == outer_frame_id)
|
||||
return UNWIND_OUTERMOST;
|
||||
else
|
||||
return UNWIND_NO_REASON;
|
||||
|
Reference in New Issue
Block a user