aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-12-03 10:38:03 +0000
committerAndrew Burgess <aburgess@redhat.com>2024-12-03 10:38:59 +0000
commit6da184277006a211c7b18a7ad3ae918d372d3da2 (patch)
treee862e1aa3f3a21473dbed0a8f0cac8602bf55a85 /gdb/gdbarch.h
parenta3a47415b74d651dba205037cfc0fb600578c255 (diff)
downloadgdb-6da184277006a211c7b18a7ad3ae918d372d3da2.zip
gdb-6da184277006a211c7b18a7ad3ae918d372d3da2.tar.gz
gdb-6da184277006a211c7b18a7ad3ae918d372d3da2.tar.bz2
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.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h2
1 files changed, 1 insertions, 1 deletions
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)