From 6da184277006a211c7b18a7ad3ae918d372d3da2 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 3 Dec 2024 10:38:03 +0000 Subject: 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. --- gdb/gdbarch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 60a0f60..3e7b207 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) -- cgit v1.1