Move type_byte_order earlier
authorTom Tromey <tromey@adacore.com>
Mon, 25 Nov 2019 18:14:50 +0000 (11:14 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 4 Dec 2019 16:31:18 +0000 (09:31 -0700)
commit7ab4a236ce85f1e0950e88e267e679a066b77bed
treed59df6f09d15b5217ff986ff33a7019c34ba8081
parent103a685e7fd27bb1347a2459c07e648aac7a6f54
Move type_byte_order earlier

I failed to notice that the scalar_storage_order patch put
type_byte_order at the end of gdbtypes.c.  The end of the file is
normally where the file's _initialize function goes.  This moves
type_byte_order earlier, into a more relevant section.

gdb/ChangeLog
2019-12-04  Tom Tromey  <tromey@adacore.com>

* gdbtypes.c (type_byte_order): Move earlier.  Assert for unknown
endian-ness.

Change-Id: I4666431ecbb32ec98918f39f72d22c86b2bc8dde
gdb/ChangeLog
gdb/gdbtypes.c