From: Andrew Burgess Date: Tue, 3 Dec 2024 10:38:03 +0000 (+0000) Subject: gdb: fix comment for gdbarch_stack_grows_down X-Git-Tag: gdb-16-branchpoint~214 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6da184277006a211c7b18a7ad3ae918d372d3da2;p=thirdparty%2Fbinutils-gdb.git gdb: fix comment for gdbarch_stack_grows_down The comment for gdbarch_stack_grows_down was wrong. Fixed in this commit. There should be no user visible changes after this commit. --- diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 60a0f60df39..3e7b2079839 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -369,7 +369,7 @@ gdbarch_num_cooked_regs (gdbarch *arch) return gdbarch_num_regs (arch) + gdbarch_num_pseudo_regs (arch); } -/* Return true if stacks for ARCH grow down, otherwise return true. */ +/* Return true if stacks for ARCH grow down, otherwise return false. */ static inline bool gdbarch_stack_grows_down (gdbarch *arch)