[binutils-gdb] gdb/dwarf: change frame_is_tailcall to return bool
Simon Marchi via Gdb-cvs <[email protected]>
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=765f2543fb3d6a8c7b9bdffa47a7d13ffec5dccf commit 765f2543fb3d6a8c7b9bdffa47a7d13ffec5dccf Author: Simon Marchi <[email protected]> Date: Wed Mar 11 14:05:37 2026 -0400 gdb/dwarf: change frame_is_tailcall to return bool Change-Id: Icc70cb565ece0f04fbd8950cf6ff41f9b3e2c242 Approved-By: Tom Tromey <[email protected]> Diff: --- gdb/dwarf2/frame-tailcall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/dwarf2/frame-tailcall.c b/gdb/dwarf2/frame-tailcall.c index 9e2e56b9bcb..bfdf5db473f 100644 --- a/gdb/dwarf2/frame-tailcall.c +++ b/gdb/dwarf2/frame-tailcall.c @@ -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);