[gdb] Convert typedef on separate line

Convert "typedef struct foo { ... } bar" into "using bar = struct foo { ... }".

Variant where typedef is on its own line.

Generated by a script written by Claude Code.

Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
Tom de Vries 2026-07-13 15:06:35 +02:00
parent 5aebabf11c
commit d30693bea9

View file

@ -470,8 +470,7 @@ crisv32_single_step_through_delay (struct gdbarch *gdbarch,
/* The instruction environment needed to find single-step breakpoints. */
typedef
struct instruction_environment
using inst_env_type = struct instruction_environment
{
unsigned long reg[NUM_GENREGS];
unsigned long preg[NUM_SPECREGS];
@ -486,7 +485,7 @@ struct instruction_environment
int xflag_found;
int disable_interrupt;
enum bfd_endian byte_order;
} inst_env_type;
};
/* Machine-dependencies in CRIS for opcodes. */