diff options
author | Tom Tromey <tom@tromey.com> | 2016-09-27 11:23:49 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-04 22:04:46 -0600 |
commit | 621846f4e258167be2147894e013c85e42de1447 (patch) | |
tree | 75450b2db92140beafd5f8c2fb96684126bc2488 /gdb/dwarf2loc.c | |
parent | 86a73007627a3c52d1c624ed430ac0e74fb8cc3e (diff) | |
download | fsf-binutils-gdb-621846f4e258167be2147894e013c85e42de1447.zip fsf-binutils-gdb-621846f4e258167be2147894e013c85e42de1447.tar.gz fsf-binutils-gdb-621846f4e258167be2147894e013c85e42de1447.tar.bz2 |
Add missing ATTRIBUTE_NORETURNs
This patch adds a missing ATTRIBUTE_NORETURN. This lets
-Wimplicit-fallthrough recognize that a given case does not fall
through.
ChangeLog
2018-05-04 Tom Tromey <tom@tromey.com>
* dwarf2loc.c (unimplemented): Add ATTRIBUTE_NORETURN.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 78d4668..6ecc5a9 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -2865,7 +2865,7 @@ dwarf2_loc_desc_get_symbol_read_needs (const gdb_byte *data, size_t size, /* A helper function that throws an unimplemented error mentioning a given DWARF operator. */ -static void +static void ATTRIBUTE_NORETURN unimplemented (unsigned int op) { const char *name = get_DW_OP_name (op); |