mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
Fix ARI warning in symtab.h
gdb/ChangeLog: 2019-11-05 Christian Biesinger <cbiesinger@google.com> * symtab.h (gdb_static_assert): Put && operator at the beginning of the line instead of the end. Change-Id: I6d05c2f5e46c3f317ba97458509b2da9fd03464b
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2019-11-05 Christian Biesinger <cbiesinger@google.com>
|
||||||
|
|
||||||
|
* symtab.h (gdb_static_assert): Put && operator at the beginning
|
||||||
|
of the line instead of the end.
|
||||||
|
|
||||||
2019-11-04 Christian Biesinger <cbiesinger@google.com>
|
2019-11-04 Christian Biesinger <cbiesinger@google.com>
|
||||||
|
|
||||||
* psympriv.h: Add static_asserts for sizeof (general_symbol_info)
|
* psympriv.h: Add static_asserts for sizeof (general_symbol_info)
|
||||||
|
@ -450,8 +450,8 @@ struct general_symbol_info
|
|||||||
makes sure the size doesn't change accidentally. Be careful when
|
makes sure the size doesn't change accidentally. Be careful when
|
||||||
purposely increasing the size. */
|
purposely increasing the size. */
|
||||||
gdb_static_assert ((sizeof (void *) == 8 && sizeof (general_symbol_info) == 32)
|
gdb_static_assert ((sizeof (void *) == 8 && sizeof (general_symbol_info) == 32)
|
||||||
|| (sizeof (void *) == 4 &&
|
|| (sizeof (void *) == 4
|
||||||
sizeof (general_symbol_info) == 20));
|
&& sizeof (general_symbol_info) == 20));
|
||||||
|
|
||||||
extern void symbol_set_demangled_name (struct general_symbol_info *,
|
extern void symbol_set_demangled_name (struct general_symbol_info *,
|
||||||
const char *,
|
const char *,
|
||||||
|
Reference in New Issue
Block a user