From a0cbd6505e9590baddd27d2ce603103d6e77421a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 25 Jul 2022 14:06:33 -0300 Subject: 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 --- gdb/frame-unwind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/frame-unwind.c') diff --git a/gdb/frame-unwind.c b/gdb/frame-unwind.c index 78fc8dd..78e3f1d 100644 --- a/gdb/frame-unwind.c +++ b/gdb/frame-unwind.c @@ -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; -- cgit v1.1