ODR warning for "struct instruction_type"
authorTom Tromey <tromey@adacore.com>
Wed, 18 May 2022 15:45:33 +0000 (09:45 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 2 Jun 2022 15:04:45 +0000 (09:04 -0600)
commitcc55e4ef62f102c4aff3b34ee2a134cdcc734897
tree82f27b070048de97e41a80441e071c6b8eae6206
parent94e079e76e71951a97f74a61513a7b71adaa2a90
ODR warning for "struct instruction_type"

"struct instruction_type" is defined in multiple .c files, causing an
ODR warning.  This patch renames the types.

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