ODR warnings for "struct insn_decode_record_t"
authorTom Tromey <tromey@adacore.com>
Wed, 18 May 2022 16:10:57 +0000 (10:10 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 2 Jun 2022 15:04:45 +0000 (09:04 -0600)
commit4748a9be449fddcd69e865bdc484519c30701e55
tree858d9da4c62e9c46146717f5c3ce4d77d8b62d5e
parent131430937d0eac8a7143306b8d1afa1bc5762877
ODR warnings for "struct insn_decode_record_t"

"struct insn_decode_record_t" is defined in multiple .c files, causing
ODR warnings.  This patch renames the types, and removes the use of
"typedef" here -- this is a C-ism that's no longer needed.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22395
gdb/aarch64-tdep.c
gdb/arm-tdep.c