diff options
Diffstat (limited to 'gdbsupport/common-defs.h')
-rw-r--r-- | gdbsupport/common-defs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbsupport/common-defs.h b/gdbsupport/common-defs.h index 2cb71e2..07caf3b 100644 --- a/gdbsupport/common-defs.h +++ b/gdbsupport/common-defs.h @@ -1,6 +1,6 @@ /* Common definitions. - Copyright (C) 1986-2024 Free Software Foundation, Inc. + Copyright (C) 1986-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -153,7 +153,7 @@ and builds with -O2, and ... the assert doesn't trigger, because it's optimized away by gcc. - There's no suppported recipe to prevent the assertion from being optimized + There's no supported recipe to prevent the assertion from being optimized away (other than: build with -O0, or remove the nonnull attribute). Note that -fno-delete-null-pointer-checks does not help. A patch was submitted to improve gcc documentation to point this out more clearly ( |