]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/dwarf: change frame_is_tailcall to return bool
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 11 Mar 2026 18:05:37 +0000 (14:05 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 12 Mar 2026 14:20:51 +0000 (10:20 -0400)
Change-Id: Icc70cb565ece0f04fbd8950cf6ff41f9b3e2c242
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/frame-tailcall.c

index 9e2e56b9bcb5d960052fec5845dec114effd2928..bfdf5db473f44920a13ed6df7fbcdf491f36ea1f 100644 (file)
@@ -131,10 +131,10 @@ cache_unref (struct tailcall_cache *cache)
     }
 }
 
-/* Return 1 if FI is a non-bottom (not the callee) tail call frame.  Otherwise
-   return 0.  */
+/* Return true if FI is a non-bottom (not the callee) tail call frame.
+   Otherwise return false.  */
 
-static int
+static bool
 frame_is_tailcall (const frame_info_ptr &fi)
 {
   return frame_unwinder_is (fi, &dwarf2_tailcall_frame_unwind);