Remove "typedef enum ..."
authorTom Tromey <tromey@adacore.com>
Wed, 27 Apr 2022 20:32:49 +0000 (14:32 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 28 Apr 2022 15:31:15 +0000 (09:31 -0600)
commit0d1703b8fb611f978577a70ad6aa308a12a53980
tree1575fb753e121f86566507be66b72cd85efc013e
parentc42dd30d73ec441ed9cab207597c7f5ce88ee231
Remove "typedef enum ..."

I noticed a few spots in GDB that use "typedef enum".  However, in C++
this isn't as useful, as the tag is automatically entered as a
typedef.  This patch removes most uses of "typedef enum" -- the
exceptions being in some nat-* code I can't compile, and
glibc_thread_db.h, which I think is more or less a copy of some C code
from elsewhere.

Tested by rebuilding.
14 files changed:
gdb/arm-tdep.c
gdb/break-catch-fork.c
gdb/command.h
gdb/f-exp.y
gdb/ia64-tdep.c
gdb/jit.h
gdb/linespec.c
gdb/nat/windows-nat.h
gdb/nat/x86-dregs.c
gdb/psympriv.h
gdb/python/py-event.h
gdb/symtab.h
gdb/xtensa-tdep.c
gdb/xtensa-tdep.h