]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: fix comment for gdbarch_stack_grows_down
authorAndrew Burgess <aburgess@redhat.com>
Tue, 3 Dec 2024 10:38:03 +0000 (10:38 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 3 Dec 2024 10:38:59 +0000 (10:38 +0000)
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

index 60a0f60df39634eb314f84c95020bd6fe93384f2..3e7b2079839303a1a7966cfef4c4842bf332602f 100644 (file)
@@ -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)