[gdb] Fix redundant struct typedefs

Convert "typedef struct foo { ... } foo" into "struct foo { ... }".

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 0adf0abd96
commit c3ea9a009d
2 changed files with 4 additions and 4 deletions

View file

@ -224,7 +224,7 @@ procfs_target::auxv_parse (const gdb_byte **readptr,
#define STATUS_PROC_NAME_FMT "/proc/%d/status"
#define MAX_PROC_NAME_SIZE sizeof("/proc/999999/lwp/0123456789/lwpstatus")
typedef struct procinfo {
struct procinfo {
struct procinfo *next;
int pid; /* Process ID */
int tid; /* Thread/LWP id */
@ -253,7 +253,7 @@ typedef struct procinfo {
int gregs_valid : 1;
int fpregs_valid : 1;
int threads_valid: 1;
} procinfo;
};
/* Function prototypes for procinfo module: */

View file

@ -5094,7 +5094,7 @@ fast_tracepoint_from_ipa_tpoint_address (CORE_ADDR ipa_tpoint_obj)
/* The type of the object that is used to synchronize fast tracepoint
collection. */
typedef struct collecting_t
struct collecting_t
{
/* The fast tracepoint number currently collecting. */
uintptr_t tpoint;
@ -5107,7 +5107,7 @@ typedef struct collecting_t
register, which is readable with a single insn on several
architectures. */
uintptr_t thread_area;
} collecting_t;
};
#ifndef IN_PROCESS_AGENT