Remove symbol-related static asserts
authorTom Tromey <tromey@adacore.com>
Mon, 11 Nov 2019 14:43:13 +0000 (07:43 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 13 Nov 2019 19:52:40 +0000 (12:52 -0700)
commitd1aa3cf0bb1a9d7162fc9790258f64f5abffaa55
treec9ceeb405e96fc61434e2a6de03463f14146b2d5
parent415ed2a17588f855397cc2d03aa68a79e84f77f7
Remove symbol-related static asserts

commit 3573abe1d added static asserts to ensure that symbol sizes
don't vary.  However, this failed to build on Windows, on at least one
ARM platform (see PR build/25182) and internally at AdaCore for PPC.

So, I think it is probably best to just remove these assertions,
effectively reverting 3573abe1d.

gdb/ChangeLog
2019-11-13  Tom Tromey  <tromey@adacore.com>

PR build/25182:
* psympriv.h (partial_symbol): Remove static assert.
* symtab.h (general_symbol_info, symbol): Remove static assert.

Change-Id: I51940fb2240c474838b48494b5072081701789bb
gdb/ChangeLog
gdb/psympriv.h
gdb/symtab.h