]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb, gdbserver, gdbsupport: use [[noreturn]] instead of ATTRIBUTE_NORETURN
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 16 Jul 2024 20:02:12 +0000 (16:02 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 16 Jul 2024 22:30:45 +0000 (18:30 -0400)
commitd9deb60b2e9e94b532f43a7d3ddddf5ddf6dbdd3
treeb8897a470d1270148fdee39e16f54baa3907a079
parent9153eb8a7f5449c9baa67b2349cdfc0a47104c9a
gdb, gdbserver, gdbsupport: use [[noreturn]] instead of ATTRIBUTE_NORETURN

C++ 11 has a built-in attribute for this, no need to use a compat macro.

Change-Id: I90e4220d26e8f3949d91761f8a13cd9c37da3875
Reviewed-by: Lancelot Six <lancelot.six@amd.com>
26 files changed:
gdb/command.h
gdb/dwarf2/loc.c
gdb/event-top.c
gdb/guile/guile-internal.h
gdb/linespec.c
gdb/nat/aarch64-mte-linux-ptrace.c
gdb/nat/fork-inferior.h
gdb/nat/linux-namespaces.c
gdb/python/python-internal.h
gdb/remote-sim.c
gdb/remote.c
gdb/symtab.c
gdb/target.c
gdb/target.h
gdb/tid-parse.c
gdb/tid-parse.h
gdb/top.h
gdb/utils.c
gdb/xml-support.c
gdb/xml-support.h
gdbserver/gdbreplay.cc
gdbserver/server.cc
gdbserver/utils.cc
gdbsupport/common-exceptions.cc
gdbsupport/common-exceptions.h
gdbsupport/errors.h