Index: gdb-8.2/gdb/compile/compile-object-load.c =================================================================== --- gdb-8.2.orig/gdb/compile/compile-object-load.c +++ gdb-8.2/gdb/compile/compile-object-load.c @@ -555,7 +555,7 @@ get_regs_type (struct symbol *func_sym, static void store_regs (struct type *regs_type, CORE_ADDR regs_base) { - thread_info *thread = inferior_thread (); + struct thread_info *thread = inferior_thread (); struct gdbarch *gdbarch = target_gdbarch (); struct regcache *regcache = get_thread_regcache (thread); int fieldno;