]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use .def file to stringify type codes
authorTom Tromey <tromey@adacore.com>
Thu, 21 Sep 2023 16:43:58 +0000 (10:43 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 21 Nov 2023 21:52:04 +0000 (14:52 -0700)
commite626733c050b011c9c9ea950219e04a104c5e96c
tree00740bdab006975e5ec9daa60e4df719cccaecf2
parent97b29a61f7f001550fe985bf2deea1550e3c20dd
Use .def file to stringify type codes

This changes recursive_dump_type to reuse the type-codes.def file when
stringifying type codes.

This version of the patch changes the "unknown" case to an assert.

Acked-By: Simon Marchi <simon.marchi@efficios.com>
Reviewed-by: Keith Seitz <keiths@redhat.com>
gdb/gdbtypes.c