mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2026-08-27 00:26:02 -04:00
[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:
parent
5aebabf11c
commit
d30693bea9
1 changed files with 2 additions and 3 deletions
|
|
@ -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. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue