From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1586) id 292AD38A8170; Mon, 5 Dec 2022 13:57:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 292AD38A8170 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670248631; bh=Fn1i8b3nqDPTkX656SyjbxelxYOwPagfkt1MGLJir9s=; h=From:To:Subject:Date:From; b=QCzVmK1LFrV9iQhY2tDPSvMq2a5eLJAiMlf5sXsGcTinWdV7H2hIk7quHHNbnapjt U4LkLi5MkrPgMK+UiJORtKsoVdhL7J5ZjcMCxqj4a+Pf88uHL3n+TDHiVfVZuih4Rf bTUHR8rkxnRbY2JBiEqnBNGeuwhdYCVtjLOysI2E= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Thiago Bauermann To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdbarch.py: Fix indentation in the generated set_gdbarch_* definitions X-Act-Checkin: binutils-gdb X-Git-Author: Thiago Jung Bauermann X-Git-Refname: refs/heads/master X-Git-Oldrev: 53e03d92a6d052dfb8d0cb2ff203f1d28462e656 X-Git-Newrev: adc48a49264637719620b4d52224774cdc4607c8 Message-Id: <20221205135711.292AD38A8170@sourceware.org> Date: Mon, 5 Dec 2022 13:57:11 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dadc48a492646= 37719620b4d52224774cdc4607c8 commit adc48a49264637719620b4d52224774cdc4607c8 Author: Thiago Jung Bauermann Date: Thu Dec 1 17:18:06 2022 +0000 gdbarch.py: Fix indentation in the generated set_gdbarch_* definitions =20 Use as many tabs as possible for indentation and pad with spaces to keep the argument aligned to the opening parenthesis in the line above. =20 Co-developed-by: Simon Marchi Approved-By: Simon Marchi Diff: --- gdb/gdbarch.c | 406 ++++++++++++++++++++++++++++-------------------------= ---- gdb/gdbarch.py | 21 ++- 2 files changed, 217 insertions(+), 210 deletions(-) diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 4b622c42b83..74c12c5e3ff 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -1414,7 +1414,7 @@ gdbarch_short_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_short_bit (struct gdbarch *gdbarch, - int short_bit) + int short_bit) { gdbarch->short_bit =3D short_bit; } @@ -1431,7 +1431,7 @@ gdbarch_int_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_int_bit (struct gdbarch *gdbarch, - int int_bit) + int int_bit) { gdbarch->int_bit =3D int_bit; } @@ -1448,7 +1448,7 @@ gdbarch_long_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_long_bit (struct gdbarch *gdbarch, - int long_bit) + int long_bit) { gdbarch->long_bit =3D long_bit; } @@ -1465,7 +1465,7 @@ gdbarch_long_long_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_long_long_bit (struct gdbarch *gdbarch, - int long_long_bit) + int long_long_bit) { gdbarch->long_long_bit =3D long_long_bit; } @@ -1482,7 +1482,7 @@ gdbarch_bfloat16_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_bfloat16_bit (struct gdbarch *gdbarch, - int bfloat16_bit) + int bfloat16_bit) { gdbarch->bfloat16_bit =3D bfloat16_bit; } @@ -1498,7 +1498,7 @@ gdbarch_bfloat16_format (struct gdbarch *gdbarch) =20 void set_gdbarch_bfloat16_format (struct gdbarch *gdbarch, - const struct floatformat ** bfloat16_format) + const struct floatformat ** bfloat16_format) { gdbarch->bfloat16_format =3D bfloat16_format; } @@ -1515,7 +1515,7 @@ gdbarch_half_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_half_bit (struct gdbarch *gdbarch, - int half_bit) + int half_bit) { gdbarch->half_bit =3D half_bit; } @@ -1531,7 +1531,7 @@ gdbarch_half_format (struct gdbarch *gdbarch) =20 void set_gdbarch_half_format (struct gdbarch *gdbarch, - const struct floatformat ** half_format) + const struct floatformat ** half_format) { gdbarch->half_format =3D half_format; } @@ -1548,7 +1548,7 @@ gdbarch_float_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_float_bit (struct gdbarch *gdbarch, - int float_bit) + int float_bit) { gdbarch->float_bit =3D float_bit; } @@ -1564,7 +1564,7 @@ gdbarch_float_format (struct gdbarch *gdbarch) =20 void set_gdbarch_float_format (struct gdbarch *gdbarch, - const struct floatformat ** float_format) + const struct floatformat ** float_format) { gdbarch->float_format =3D float_format; } @@ -1581,7 +1581,7 @@ gdbarch_double_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_double_bit (struct gdbarch *gdbarch, - int double_bit) + int double_bit) { gdbarch->double_bit =3D double_bit; } @@ -1597,7 +1597,7 @@ gdbarch_double_format (struct gdbarch *gdbarch) =20 void set_gdbarch_double_format (struct gdbarch *gdbarch, - const struct floatformat ** double_format) + const struct floatformat ** double_format) { gdbarch->double_format =3D double_format; } @@ -1614,7 +1614,7 @@ gdbarch_long_double_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_long_double_bit (struct gdbarch *gdbarch, - int long_double_bit) + int long_double_bit) { gdbarch->long_double_bit =3D long_double_bit; } @@ -1630,7 +1630,7 @@ gdbarch_long_double_format (struct gdbarch *gdbarch) =20 void set_gdbarch_long_double_format (struct gdbarch *gdbarch, - const struct floatformat ** long_double_fo= rmat) + const struct floatformat ** long_double_format) { gdbarch->long_double_format =3D long_double_format; } @@ -1647,7 +1647,7 @@ gdbarch_wchar_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_wchar_bit (struct gdbarch *gdbarch, - int wchar_bit) + int wchar_bit) { gdbarch->wchar_bit =3D wchar_bit; } @@ -1665,7 +1665,7 @@ gdbarch_wchar_signed (struct gdbarch *gdbarch) =20 void set_gdbarch_wchar_signed (struct gdbarch *gdbarch, - int wchar_signed) + int wchar_signed) { gdbarch->wchar_signed =3D wchar_signed; } @@ -1682,7 +1682,7 @@ gdbarch_floatformat_for_type (struct gdbarch *gdbarch= , const char *name, int len =20 void set_gdbarch_floatformat_for_type (struct gdbarch *gdbarch, - gdbarch_floatformat_for_type_ftype float= format_for_type) + gdbarch_floatformat_for_type_ftype floatformat_for_type) { gdbarch->floatformat_for_type =3D floatformat_for_type; } @@ -1699,7 +1699,7 @@ gdbarch_ptr_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_ptr_bit (struct gdbarch *gdbarch, - int ptr_bit) + int ptr_bit) { gdbarch->ptr_bit =3D ptr_bit; } @@ -1717,7 +1717,7 @@ gdbarch_addr_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_addr_bit (struct gdbarch *gdbarch, - int addr_bit) + int addr_bit) { gdbarch->addr_bit =3D addr_bit; } @@ -1735,7 +1735,7 @@ gdbarch_dwarf2_addr_size (struct gdbarch *gdbarch) =20 void set_gdbarch_dwarf2_addr_size (struct gdbarch *gdbarch, - int dwarf2_addr_size) + int dwarf2_addr_size) { gdbarch->dwarf2_addr_size =3D dwarf2_addr_size; } @@ -1753,7 +1753,7 @@ gdbarch_char_signed (struct gdbarch *gdbarch) =20 void set_gdbarch_char_signed (struct gdbarch *gdbarch, - int char_signed) + int char_signed) { gdbarch->char_signed =3D char_signed; } @@ -1777,7 +1777,7 @@ gdbarch_read_pc (struct gdbarch *gdbarch, readable_re= gcache *regcache) =20 void set_gdbarch_read_pc (struct gdbarch *gdbarch, - gdbarch_read_pc_ftype read_pc) + gdbarch_read_pc_ftype read_pc) { gdbarch->read_pc =3D read_pc; } @@ -1801,7 +1801,7 @@ gdbarch_write_pc (struct gdbarch *gdbarch, struct reg= cache *regcache, CORE_ADDR =20 void set_gdbarch_write_pc (struct gdbarch *gdbarch, - gdbarch_write_pc_ftype write_pc) + gdbarch_write_pc_ftype write_pc) { gdbarch->write_pc =3D write_pc; } @@ -1818,7 +1818,7 @@ gdbarch_virtual_frame_pointer (struct gdbarch *gdbarc= h, CORE_ADDR pc, int *frame =20 void set_gdbarch_virtual_frame_pointer (struct gdbarch *gdbarch, - gdbarch_virtual_frame_pointer_ftype vir= tual_frame_pointer) + gdbarch_virtual_frame_pointer_ftype virtual_frame_pointer) { gdbarch->virtual_frame_pointer =3D virtual_frame_pointer; } @@ -1842,7 +1842,7 @@ gdbarch_pseudo_register_read (struct gdbarch *gdbarch= , readable_regcache *regcac =20 void set_gdbarch_pseudo_register_read (struct gdbarch *gdbarch, - gdbarch_pseudo_register_read_ftype pseud= o_register_read) + gdbarch_pseudo_register_read_ftype pseudo_register_read) { gdbarch->pseudo_register_read =3D pseudo_register_read; } @@ -1866,7 +1866,7 @@ gdbarch_pseudo_register_read_value (struct gdbarch *g= dbarch, readable_regcache * =20 void set_gdbarch_pseudo_register_read_value (struct gdbarch *gdbarch, - gdbarch_pseudo_register_read_value= _ftype pseudo_register_read_value) + gdbarch_pseudo_register_read_value_ftype pseudo_register_read_value) { gdbarch->pseudo_register_read_value =3D pseudo_register_read_value; } @@ -1890,7 +1890,7 @@ gdbarch_pseudo_register_write (struct gdbarch *gdbarc= h, struct regcache *regcach =20 void set_gdbarch_pseudo_register_write (struct gdbarch *gdbarch, - gdbarch_pseudo_register_write_ftype pse= udo_register_write) + gdbarch_pseudo_register_write_ftype pseudo_register_write) { gdbarch->pseudo_register_write =3D pseudo_register_write; } @@ -1908,7 +1908,7 @@ gdbarch_num_regs (struct gdbarch *gdbarch) =20 void set_gdbarch_num_regs (struct gdbarch *gdbarch, - int num_regs) + int num_regs) { gdbarch->num_regs =3D num_regs; } @@ -1925,7 +1925,7 @@ gdbarch_num_pseudo_regs (struct gdbarch *gdbarch) =20 void set_gdbarch_num_pseudo_regs (struct gdbarch *gdbarch, - int num_pseudo_regs) + int num_pseudo_regs) { gdbarch->num_pseudo_regs =3D num_pseudo_regs; } @@ -1949,7 +1949,7 @@ gdbarch_ax_pseudo_register_collect (struct gdbarch *g= dbarch, struct agent_expr * =20 void set_gdbarch_ax_pseudo_register_collect (struct gdbarch *gdbarch, - gdbarch_ax_pseudo_register_collect= _ftype ax_pseudo_register_collect) + gdbarch_ax_pseudo_register_collect_ftype ax_pseudo_register_collect) { gdbarch->ax_pseudo_register_collect =3D ax_pseudo_register_collect; } @@ -1973,7 +1973,7 @@ gdbarch_ax_pseudo_register_push_stack (struct gdbarch= *gdbarch, struct agent_exp =20 void set_gdbarch_ax_pseudo_register_push_stack (struct gdbarch *gdbarch, - gdbarch_ax_pseudo_register_push= _stack_ftype ax_pseudo_register_push_stack) + gdbarch_ax_pseudo_register_push_stack_ftype ax_pseudo_register_pus= h_stack) { gdbarch->ax_pseudo_register_push_stack =3D ax_pseudo_register_push_stack; } @@ -1997,7 +1997,7 @@ gdbarch_report_signal_info (struct gdbarch *gdbarch, = struct ui_out *uiout, enum =20 void set_gdbarch_report_signal_info (struct gdbarch *gdbarch, - gdbarch_report_signal_info_ftype report_si= gnal_info) + gdbarch_report_signal_info_ftype report_signal_info) { gdbarch->report_signal_info =3D report_signal_info; } @@ -2014,7 +2014,7 @@ gdbarch_sp_regnum (struct gdbarch *gdbarch) =20 void set_gdbarch_sp_regnum (struct gdbarch *gdbarch, - int sp_regnum) + int sp_regnum) { gdbarch->sp_regnum =3D sp_regnum; } @@ -2031,7 +2031,7 @@ gdbarch_pc_regnum (struct gdbarch *gdbarch) =20 void set_gdbarch_pc_regnum (struct gdbarch *gdbarch, - int pc_regnum) + int pc_regnum) { gdbarch->pc_regnum =3D pc_regnum; } @@ -2048,7 +2048,7 @@ gdbarch_ps_regnum (struct gdbarch *gdbarch) =20 void set_gdbarch_ps_regnum (struct gdbarch *gdbarch, - int ps_regnum) + int ps_regnum) { gdbarch->ps_regnum =3D ps_regnum; } @@ -2065,7 +2065,7 @@ gdbarch_fp0_regnum (struct gdbarch *gdbarch) =20 void set_gdbarch_fp0_regnum (struct gdbarch *gdbarch, - int fp0_regnum) + int fp0_regnum) { gdbarch->fp0_regnum =3D fp0_regnum; } @@ -2082,7 +2082,7 @@ gdbarch_stab_reg_to_regnum (struct gdbarch *gdbarch, = int stab_regnr) =20 void set_gdbarch_stab_reg_to_regnum (struct gdbarch *gdbarch, - gdbarch_stab_reg_to_regnum_ftype stab_reg_= to_regnum) + gdbarch_stab_reg_to_regnum_ftype stab_reg_to_regnum) { gdbarch->stab_reg_to_regnum =3D stab_reg_to_regnum; } @@ -2099,7 +2099,7 @@ gdbarch_ecoff_reg_to_regnum (struct gdbarch *gdbarch,= int ecoff_regnr) =20 void set_gdbarch_ecoff_reg_to_regnum (struct gdbarch *gdbarch, - gdbarch_ecoff_reg_to_regnum_ftype ecoff_r= eg_to_regnum) + gdbarch_ecoff_reg_to_regnum_ftype ecoff_reg_to_regnum) { gdbarch->ecoff_reg_to_regnum =3D ecoff_reg_to_regnum; } @@ -2116,7 +2116,7 @@ gdbarch_sdb_reg_to_regnum (struct gdbarch *gdbarch, i= nt sdb_regnr) =20 void set_gdbarch_sdb_reg_to_regnum (struct gdbarch *gdbarch, - gdbarch_sdb_reg_to_regnum_ftype sdb_reg_to_= regnum) + gdbarch_sdb_reg_to_regnum_ftype sdb_reg_to_regnum) { gdbarch->sdb_reg_to_regnum =3D sdb_reg_to_regnum; } @@ -2133,7 +2133,7 @@ gdbarch_dwarf2_reg_to_regnum (struct gdbarch *gdbarch= , int dwarf2_regnr) =20 void set_gdbarch_dwarf2_reg_to_regnum (struct gdbarch *gdbarch, - gdbarch_dwarf2_reg_to_regnum_ftype dwarf= 2_reg_to_regnum) + gdbarch_dwarf2_reg_to_regnum_ftype dwarf2_reg_to_regnum) { gdbarch->dwarf2_reg_to_regnum =3D dwarf2_reg_to_regnum; } @@ -2154,7 +2154,7 @@ gdbarch_register_name (struct gdbarch *gdbarch, int r= egnr) =20 void set_gdbarch_register_name (struct gdbarch *gdbarch, - gdbarch_register_name_ftype register_name) + gdbarch_register_name_ftype register_name) { gdbarch->register_name =3D register_name; } @@ -2171,7 +2171,7 @@ gdbarch_register_type (struct gdbarch *gdbarch, int r= eg_nr) =20 void set_gdbarch_register_type (struct gdbarch *gdbarch, - gdbarch_register_type_ftype register_type) + gdbarch_register_type_ftype register_type) { gdbarch->register_type =3D register_type; } @@ -2188,7 +2188,7 @@ gdbarch_dummy_id (struct gdbarch *gdbarch, frame_info= _ptr this_frame) =20 void set_gdbarch_dummy_id (struct gdbarch *gdbarch, - gdbarch_dummy_id_ftype dummy_id) + gdbarch_dummy_id_ftype dummy_id) { gdbarch->dummy_id =3D dummy_id; } @@ -2205,7 +2205,7 @@ gdbarch_deprecated_fp_regnum (struct gdbarch *gdbarch) =20 void set_gdbarch_deprecated_fp_regnum (struct gdbarch *gdbarch, - int deprecated_fp_regnum) + int deprecated_fp_regnum) { gdbarch->deprecated_fp_regnum =3D deprecated_fp_regnum; } @@ -2229,7 +2229,7 @@ gdbarch_push_dummy_call (struct gdbarch *gdbarch, str= uct value *function, struct =20 void set_gdbarch_push_dummy_call (struct gdbarch *gdbarch, - gdbarch_push_dummy_call_ftype push_dummy_call) + gdbarch_push_dummy_call_ftype push_dummy_call) { gdbarch->push_dummy_call =3D push_dummy_call; } @@ -2246,7 +2246,7 @@ gdbarch_call_dummy_location (struct gdbarch *gdbarch) =20 void set_gdbarch_call_dummy_location (struct gdbarch *gdbarch, - enum call_dummy_location_type call_dummy_= location) + enum call_dummy_location_type call_dummy_location) { gdbarch->call_dummy_location =3D call_dummy_location; } @@ -2270,7 +2270,7 @@ gdbarch_push_dummy_code (struct gdbarch *gdbarch, COR= E_ADDR sp, CORE_ADDR funadd =20 void set_gdbarch_push_dummy_code (struct gdbarch *gdbarch, - gdbarch_push_dummy_code_ftype push_dummy_code) + gdbarch_push_dummy_code_ftype push_dummy_code) { gdbarch->push_dummy_code =3D push_dummy_code; } @@ -2287,7 +2287,7 @@ gdbarch_code_of_frame_writable (struct gdbarch *gdbar= ch, frame_info_ptr frame) =20 void set_gdbarch_code_of_frame_writable (struct gdbarch *gdbarch, - gdbarch_code_of_frame_writable_ftype c= ode_of_frame_writable) + gdbarch_code_of_frame_writable_ftype code_of_frame_writable) { gdbarch->code_of_frame_writable =3D code_of_frame_writable; } @@ -2304,7 +2304,7 @@ gdbarch_print_registers_info (struct gdbarch *gdbarch= , struct ui_file *file, fra =20 void set_gdbarch_print_registers_info (struct gdbarch *gdbarch, - gdbarch_print_registers_info_ftype print= _registers_info) + gdbarch_print_registers_info_ftype print_registers_info) { gdbarch->print_registers_info =3D print_registers_info; } @@ -2321,7 +2321,7 @@ gdbarch_print_float_info (struct gdbarch *gdbarch, st= ruct ui_file *file, frame_i =20 void set_gdbarch_print_float_info (struct gdbarch *gdbarch, - gdbarch_print_float_info_ftype print_float_i= nfo) + gdbarch_print_float_info_ftype print_float_info) { gdbarch->print_float_info =3D print_float_info; } @@ -2345,7 +2345,7 @@ gdbarch_print_vector_info (struct gdbarch *gdbarch, s= truct ui_file *file, frame_ =20 void set_gdbarch_print_vector_info (struct gdbarch *gdbarch, - gdbarch_print_vector_info_ftype print_vecto= r_info) + gdbarch_print_vector_info_ftype print_vector_info) { gdbarch->print_vector_info =3D print_vector_info; } @@ -2362,7 +2362,7 @@ gdbarch_register_sim_regno (struct gdbarch *gdbarch, = int reg_nr) =20 void set_gdbarch_register_sim_regno (struct gdbarch *gdbarch, - gdbarch_register_sim_regno_ftype register_= sim_regno) + gdbarch_register_sim_regno_ftype register_sim_regno) { gdbarch->register_sim_regno =3D register_sim_regno; } @@ -2379,7 +2379,7 @@ gdbarch_cannot_fetch_register (struct gdbarch *gdbarc= h, int regnum) =20 void set_gdbarch_cannot_fetch_register (struct gdbarch *gdbarch, - gdbarch_cannot_fetch_register_ftype can= not_fetch_register) + gdbarch_cannot_fetch_register_ftype cannot_fetch_register) { gdbarch->cannot_fetch_register =3D cannot_fetch_register; } @@ -2396,7 +2396,7 @@ gdbarch_cannot_store_register (struct gdbarch *gdbarc= h, int regnum) =20 void set_gdbarch_cannot_store_register (struct gdbarch *gdbarch, - gdbarch_cannot_store_register_ftype can= not_store_register) + gdbarch_cannot_store_register_ftype cannot_store_register) { gdbarch->cannot_store_register =3D cannot_store_register; } @@ -2420,7 +2420,7 @@ gdbarch_get_longjmp_target (struct gdbarch *gdbarch, = frame_info_ptr frame, CORE_ =20 void set_gdbarch_get_longjmp_target (struct gdbarch *gdbarch, - gdbarch_get_longjmp_target_ftype get_longj= mp_target) + gdbarch_get_longjmp_target_ftype get_longjmp_target) { gdbarch->get_longjmp_target =3D get_longjmp_target; } @@ -2437,7 +2437,7 @@ gdbarch_believe_pcc_promotion (struct gdbarch *gdbarc= h) =20 void set_gdbarch_believe_pcc_promotion (struct gdbarch *gdbarch, - int believe_pcc_promotion) + int believe_pcc_promotion) { gdbarch->believe_pcc_promotion =3D believe_pcc_promotion; } @@ -2454,7 +2454,7 @@ gdbarch_convert_register_p (struct gdbarch *gdbarch, = int regnum, struct type *ty =20 void set_gdbarch_convert_register_p (struct gdbarch *gdbarch, - gdbarch_convert_register_p_ftype convert_r= egister_p) + gdbarch_convert_register_p_ftype convert_register_p) { gdbarch->convert_register_p =3D convert_register_p; } @@ -2471,7 +2471,7 @@ gdbarch_register_to_value (struct gdbarch *gdbarch, f= rame_info_ptr frame, int re =20 void set_gdbarch_register_to_value (struct gdbarch *gdbarch, - gdbarch_register_to_value_ftype register_to= _value) + gdbarch_register_to_value_ftype register_to_value) { gdbarch->register_to_value =3D register_to_value; } @@ -2488,7 +2488,7 @@ gdbarch_value_to_register (struct gdbarch *gdbarch, f= rame_info_ptr frame, int re =20 void set_gdbarch_value_to_register (struct gdbarch *gdbarch, - gdbarch_value_to_register_ftype value_to_re= gister) + gdbarch_value_to_register_ftype value_to_register) { gdbarch->value_to_register =3D value_to_register; } @@ -2505,7 +2505,7 @@ gdbarch_value_from_register (struct gdbarch *gdbarch,= struct type *type, int reg =20 void set_gdbarch_value_from_register (struct gdbarch *gdbarch, - gdbarch_value_from_register_ftype value_f= rom_register) + gdbarch_value_from_register_ftype value_from_register) { gdbarch->value_from_register =3D value_from_register; } @@ -2522,7 +2522,7 @@ gdbarch_pointer_to_address (struct gdbarch *gdbarch, = struct type *type, const gd =20 void set_gdbarch_pointer_to_address (struct gdbarch *gdbarch, - gdbarch_pointer_to_address_ftype pointer_t= o_address) + gdbarch_pointer_to_address_ftype pointer_to_address) { gdbarch->pointer_to_address =3D pointer_to_address; } @@ -2539,7 +2539,7 @@ gdbarch_address_to_pointer (struct gdbarch *gdbarch, = struct type *type, gdb_byte =20 void set_gdbarch_address_to_pointer (struct gdbarch *gdbarch, - gdbarch_address_to_pointer_ftype address_t= o_pointer) + gdbarch_address_to_pointer_ftype address_to_pointer) { gdbarch->address_to_pointer =3D address_to_pointer; } @@ -2563,7 +2563,7 @@ gdbarch_integer_to_address (struct gdbarch *gdbarch, = struct type *type, const gd =20 void set_gdbarch_integer_to_address (struct gdbarch *gdbarch, - gdbarch_integer_to_address_ftype integer_t= o_address) + gdbarch_integer_to_address_ftype integer_to_address) { gdbarch->integer_to_address =3D integer_to_address; } @@ -2587,7 +2587,7 @@ gdbarch_return_value (struct gdbarch *gdbarch, struct= value *function, struct ty =20 void set_gdbarch_return_value (struct gdbarch *gdbarch, - gdbarch_return_value_ftype return_value) + gdbarch_return_value_ftype return_value) { gdbarch->return_value =3D return_value; } @@ -2604,7 +2604,7 @@ gdbarch_get_return_buf_addr (struct gdbarch *gdbarch,= struct type *val_type, fra =20 void set_gdbarch_get_return_buf_addr (struct gdbarch *gdbarch, - gdbarch_get_return_buf_addr_ftype get_ret= urn_buf_addr) + gdbarch_get_return_buf_addr_ftype get_return_buf_addr) { gdbarch->get_return_buf_addr =3D get_return_buf_addr; } @@ -2621,7 +2621,7 @@ gdbarch_return_in_first_hidden_param_p (struct gdbarc= h *gdbarch, struct type *ty =20 void set_gdbarch_return_in_first_hidden_param_p (struct gdbarch *gdbarch, - gdbarch_return_in_first_hidden= _param_p_ftype return_in_first_hidden_param_p) + gdbarch_return_in_first_hidden_param_p_ftype return_in_first_hidd= en_param_p) { gdbarch->return_in_first_hidden_param_p =3D return_in_first_hidden_param= _p; } @@ -2638,7 +2638,7 @@ gdbarch_skip_prologue (struct gdbarch *gdbarch, CORE_= ADDR ip) =20 void set_gdbarch_skip_prologue (struct gdbarch *gdbarch, - gdbarch_skip_prologue_ftype skip_prologue) + gdbarch_skip_prologue_ftype skip_prologue) { gdbarch->skip_prologue =3D skip_prologue; } @@ -2662,7 +2662,7 @@ gdbarch_skip_main_prologue (struct gdbarch *gdbarch, = CORE_ADDR ip) =20 void set_gdbarch_skip_main_prologue (struct gdbarch *gdbarch, - gdbarch_skip_main_prologue_ftype skip_main= _prologue) + gdbarch_skip_main_prologue_ftype skip_main_prologue) { gdbarch->skip_main_prologue =3D skip_main_prologue; } @@ -2686,7 +2686,7 @@ gdbarch_skip_entrypoint (struct gdbarch *gdbarch, COR= E_ADDR ip) =20 void set_gdbarch_skip_entrypoint (struct gdbarch *gdbarch, - gdbarch_skip_entrypoint_ftype skip_entrypoint) + gdbarch_skip_entrypoint_ftype skip_entrypoint) { gdbarch->skip_entrypoint =3D skip_entrypoint; } @@ -2703,7 +2703,7 @@ gdbarch_inner_than (struct gdbarch *gdbarch, CORE_ADD= R lhs, CORE_ADDR rhs) =20 void set_gdbarch_inner_than (struct gdbarch *gdbarch, - gdbarch_inner_than_ftype inner_than) + gdbarch_inner_than_ftype inner_than) { gdbarch->inner_than =3D inner_than; } @@ -2720,7 +2720,7 @@ gdbarch_breakpoint_from_pc (struct gdbarch *gdbarch, = CORE_ADDR *pcptr, int *lenp =20 void set_gdbarch_breakpoint_from_pc (struct gdbarch *gdbarch, - gdbarch_breakpoint_from_pc_ftype breakpoin= t_from_pc) + gdbarch_breakpoint_from_pc_ftype breakpoint_from_pc) { gdbarch->breakpoint_from_pc =3D breakpoint_from_pc; } @@ -2737,7 +2737,7 @@ gdbarch_breakpoint_kind_from_pc (struct gdbarch *gdba= rch, CORE_ADDR *pcptr) =20 void set_gdbarch_breakpoint_kind_from_pc (struct gdbarch *gdbarch, - gdbarch_breakpoint_kind_from_pc_ftype= breakpoint_kind_from_pc) + gdbarch_breakpoint_kind_from_pc_ftype breakpoint_kind_from_pc) { gdbarch->breakpoint_kind_from_pc =3D breakpoint_kind_from_pc; } @@ -2754,7 +2754,7 @@ gdbarch_sw_breakpoint_from_kind (struct gdbarch *gdba= rch, int kind, int *size) =20 void set_gdbarch_sw_breakpoint_from_kind (struct gdbarch *gdbarch, - gdbarch_sw_breakpoint_from_kind_ftype= sw_breakpoint_from_kind) + gdbarch_sw_breakpoint_from_kind_ftype sw_breakpoint_from_kind) { gdbarch->sw_breakpoint_from_kind =3D sw_breakpoint_from_kind; } @@ -2771,7 +2771,7 @@ gdbarch_breakpoint_kind_from_current_state (struct gd= barch *gdbarch, struct regc =20 void set_gdbarch_breakpoint_kind_from_current_state (struct gdbarch *gdbarch, - gdbarch_breakpoint_kind_fr= om_current_state_ftype breakpoint_kind_from_current_state) + gdbarch_breakpoint_kind_from_current_state_ftype breakpoint_kind_fro= m_current_state) { gdbarch->breakpoint_kind_from_current_state =3D breakpoint_kind_from_cur= rent_state; } @@ -2795,7 +2795,7 @@ gdbarch_adjust_breakpoint_address (struct gdbarch *gd= barch, CORE_ADDR bpaddr) =20 void set_gdbarch_adjust_breakpoint_address (struct gdbarch *gdbarch, - gdbarch_adjust_breakpoint_address_f= type adjust_breakpoint_address) + gdbarch_adjust_breakpoint_address_ftype adjust_breakpoint_addre= ss) { gdbarch->adjust_breakpoint_address =3D adjust_breakpoint_address; } @@ -2812,7 +2812,7 @@ gdbarch_memory_insert_breakpoint (struct gdbarch *gdb= arch, struct bp_target_info =20 void set_gdbarch_memory_insert_breakpoint (struct gdbarch *gdbarch, - gdbarch_memory_insert_breakpoint_fty= pe memory_insert_breakpoint) + gdbarch_memory_insert_breakpoint_ftype memory_insert_breakpoint) { gdbarch->memory_insert_breakpoint =3D memory_insert_breakpoint; } @@ -2829,7 +2829,7 @@ gdbarch_memory_remove_breakpoint (struct gdbarch *gdb= arch, struct bp_target_info =20 void set_gdbarch_memory_remove_breakpoint (struct gdbarch *gdbarch, - gdbarch_memory_remove_breakpoint_fty= pe memory_remove_breakpoint) + gdbarch_memory_remove_breakpoint_ftype memory_remove_breakpoint) { gdbarch->memory_remove_breakpoint =3D memory_remove_breakpoint; } @@ -2846,7 +2846,7 @@ gdbarch_decr_pc_after_break (struct gdbarch *gdbarch) =20 void set_gdbarch_decr_pc_after_break (struct gdbarch *gdbarch, - CORE_ADDR decr_pc_after_break) + CORE_ADDR decr_pc_after_break) { gdbarch->decr_pc_after_break =3D decr_pc_after_break; } @@ -2863,7 +2863,7 @@ gdbarch_deprecated_function_start_offset (struct gdba= rch *gdbarch) =20 void set_gdbarch_deprecated_function_start_offset (struct gdbarch *gdbarch, - CORE_ADDR deprecated_functio= n_start_offset) + CORE_ADDR deprecated_function_start_offset) { gdbarch->deprecated_function_start_offset =3D deprecated_function_start_= offset; } @@ -2880,7 +2880,7 @@ gdbarch_remote_register_number (struct gdbarch *gdbar= ch, int regno) =20 void set_gdbarch_remote_register_number (struct gdbarch *gdbarch, - gdbarch_remote_register_number_ftype r= emote_register_number) + gdbarch_remote_register_number_ftype remote_register_number) { gdbarch->remote_register_number =3D remote_register_number; } @@ -2904,7 +2904,7 @@ gdbarch_fetch_tls_load_module_address (struct gdbarch= *gdbarch, struct objfile * =20 void set_gdbarch_fetch_tls_load_module_address (struct gdbarch *gdbarch, - gdbarch_fetch_tls_load_module_a= ddress_ftype fetch_tls_load_module_address) + gdbarch_fetch_tls_load_module_address_ftype fetch_tls_load_module_= address) { gdbarch->fetch_tls_load_module_address =3D fetch_tls_load_module_address; } @@ -2928,7 +2928,7 @@ gdbarch_get_thread_local_address (struct gdbarch *gdb= arch, ptid_t ptid, CORE_ADD =20 void set_gdbarch_get_thread_local_address (struct gdbarch *gdbarch, - gdbarch_get_thread_local_address_fty= pe get_thread_local_address) + gdbarch_get_thread_local_address_ftype get_thread_local_address) { gdbarch->get_thread_local_address =3D get_thread_local_address; } @@ -2945,7 +2945,7 @@ gdbarch_frame_args_skip (struct gdbarch *gdbarch) =20 void set_gdbarch_frame_args_skip (struct gdbarch *gdbarch, - CORE_ADDR frame_args_skip) + CORE_ADDR frame_args_skip) { gdbarch->frame_args_skip =3D frame_args_skip; } @@ -2962,7 +2962,7 @@ gdbarch_unwind_pc (struct gdbarch *gdbarch, frame_inf= o_ptr next_frame) =20 void set_gdbarch_unwind_pc (struct gdbarch *gdbarch, - gdbarch_unwind_pc_ftype unwind_pc) + gdbarch_unwind_pc_ftype unwind_pc) { gdbarch->unwind_pc =3D unwind_pc; } @@ -2979,7 +2979,7 @@ gdbarch_unwind_sp (struct gdbarch *gdbarch, frame_inf= o_ptr next_frame) =20 void set_gdbarch_unwind_sp (struct gdbarch *gdbarch, - gdbarch_unwind_sp_ftype unwind_sp) + gdbarch_unwind_sp_ftype unwind_sp) { gdbarch->unwind_sp =3D unwind_sp; } @@ -3003,7 +3003,7 @@ gdbarch_frame_num_args (struct gdbarch *gdbarch, fram= e_info_ptr frame) =20 void set_gdbarch_frame_num_args (struct gdbarch *gdbarch, - gdbarch_frame_num_args_ftype frame_num_args) + gdbarch_frame_num_args_ftype frame_num_args) { gdbarch->frame_num_args =3D frame_num_args; } @@ -3027,7 +3027,7 @@ gdbarch_frame_align (struct gdbarch *gdbarch, CORE_AD= DR address) =20 void set_gdbarch_frame_align (struct gdbarch *gdbarch, - gdbarch_frame_align_ftype frame_align) + gdbarch_frame_align_ftype frame_align) { gdbarch->frame_align =3D frame_align; } @@ -3044,7 +3044,7 @@ gdbarch_stabs_argument_has_addr (struct gdbarch *gdba= rch, struct type *type) =20 void set_gdbarch_stabs_argument_has_addr (struct gdbarch *gdbarch, - gdbarch_stabs_argument_has_addr_ftype= stabs_argument_has_addr) + gdbarch_stabs_argument_has_addr_ftype stabs_argument_has_addr) { gdbarch->stabs_argument_has_addr =3D stabs_argument_has_addr; } @@ -3061,7 +3061,7 @@ gdbarch_frame_red_zone_size (struct gdbarch *gdbarch) =20 void set_gdbarch_frame_red_zone_size (struct gdbarch *gdbarch, - int frame_red_zone_size) + int frame_red_zone_size) { gdbarch->frame_red_zone_size =3D frame_red_zone_size; } @@ -3078,7 +3078,7 @@ gdbarch_convert_from_func_ptr_addr (struct gdbarch *g= dbarch, CORE_ADDR addr, str =20 void set_gdbarch_convert_from_func_ptr_addr (struct gdbarch *gdbarch, - gdbarch_convert_from_func_ptr_addr= _ftype convert_from_func_ptr_addr) + gdbarch_convert_from_func_ptr_addr_ftype convert_from_func_ptr_addr) { gdbarch->convert_from_func_ptr_addr =3D convert_from_func_ptr_addr; } @@ -3095,7 +3095,7 @@ gdbarch_addr_bits_remove (struct gdbarch *gdbarch, CO= RE_ADDR addr) =20 void set_gdbarch_addr_bits_remove (struct gdbarch *gdbarch, - gdbarch_addr_bits_remove_ftype addr_bits_rem= ove) + gdbarch_addr_bits_remove_ftype addr_bits_remove) { gdbarch->addr_bits_remove =3D addr_bits_remove; } @@ -3112,7 +3112,7 @@ gdbarch_significant_addr_bit (struct gdbarch *gdbarch) =20 void set_gdbarch_significant_addr_bit (struct gdbarch *gdbarch, - int significant_addr_bit) + int significant_addr_bit) { gdbarch->significant_addr_bit =3D significant_addr_bit; } @@ -3129,7 +3129,7 @@ gdbarch_memtag_to_string (struct gdbarch *gdbarch, st= ruct value *tag) =20 void set_gdbarch_memtag_to_string (struct gdbarch *gdbarch, - gdbarch_memtag_to_string_ftype memtag_to_str= ing) + gdbarch_memtag_to_string_ftype memtag_to_string) { gdbarch->memtag_to_string =3D memtag_to_string; } @@ -3146,7 +3146,7 @@ gdbarch_tagged_address_p (struct gdbarch *gdbarch, st= ruct value *address) =20 void set_gdbarch_tagged_address_p (struct gdbarch *gdbarch, - gdbarch_tagged_address_p_ftype tagged_addres= s_p) + gdbarch_tagged_address_p_ftype tagged_address_p) { gdbarch->tagged_address_p =3D tagged_address_p; } @@ -3163,7 +3163,7 @@ gdbarch_memtag_matches_p (struct gdbarch *gdbarch, st= ruct value *address) =20 void set_gdbarch_memtag_matches_p (struct gdbarch *gdbarch, - gdbarch_memtag_matches_p_ftype memtag_matche= s_p) + gdbarch_memtag_matches_p_ftype memtag_matches_p) { gdbarch->memtag_matches_p =3D memtag_matches_p; } @@ -3180,7 +3180,7 @@ gdbarch_set_memtags (struct gdbarch *gdbarch, struct = value *address, size_t leng =20 void set_gdbarch_set_memtags (struct gdbarch *gdbarch, - gdbarch_set_memtags_ftype set_memtags) + gdbarch_set_memtags_ftype set_memtags) { gdbarch->set_memtags =3D set_memtags; } @@ -3197,7 +3197,7 @@ gdbarch_get_memtag (struct gdbarch *gdbarch, struct v= alue *address, memtag_type =20 void set_gdbarch_get_memtag (struct gdbarch *gdbarch, - gdbarch_get_memtag_ftype get_memtag) + gdbarch_get_memtag_ftype get_memtag) { gdbarch->get_memtag =3D get_memtag; } @@ -3214,7 +3214,7 @@ gdbarch_memtag_granule_size (struct gdbarch *gdbarch) =20 void set_gdbarch_memtag_granule_size (struct gdbarch *gdbarch, - CORE_ADDR memtag_granule_size) + CORE_ADDR memtag_granule_size) { gdbarch->memtag_granule_size =3D memtag_granule_size; } @@ -3238,7 +3238,7 @@ gdbarch_software_single_step (struct gdbarch *gdbarch= , struct regcache *regcache =20 void set_gdbarch_software_single_step (struct gdbarch *gdbarch, - gdbarch_software_single_step_ftype softw= are_single_step) + gdbarch_software_single_step_ftype software_single_step) { gdbarch->software_single_step =3D software_single_step; } @@ -3262,7 +3262,7 @@ gdbarch_single_step_through_delay (struct gdbarch *gd= barch, frame_info_ptr frame =20 void set_gdbarch_single_step_through_delay (struct gdbarch *gdbarch, - gdbarch_single_step_through_delay_f= type single_step_through_delay) + gdbarch_single_step_through_delay_ftype single_step_through_del= ay) { gdbarch->single_step_through_delay =3D single_step_through_delay; } @@ -3279,7 +3279,7 @@ gdbarch_print_insn (struct gdbarch *gdbarch, bfd_vma = vma, struct disassemble_inf =20 void set_gdbarch_print_insn (struct gdbarch *gdbarch, - gdbarch_print_insn_ftype print_insn) + gdbarch_print_insn_ftype print_insn) { gdbarch->print_insn =3D print_insn; } @@ -3296,7 +3296,7 @@ gdbarch_skip_trampoline_code (struct gdbarch *gdbarch= , frame_info_ptr frame, COR =20 void set_gdbarch_skip_trampoline_code (struct gdbarch *gdbarch, - gdbarch_skip_trampoline_code_ftype skip_= trampoline_code) + gdbarch_skip_trampoline_code_ftype skip_trampoline_code) { gdbarch->skip_trampoline_code =3D skip_trampoline_code; } @@ -3312,7 +3312,7 @@ gdbarch_so_ops (struct gdbarch *gdbarch) =20 void set_gdbarch_so_ops (struct gdbarch *gdbarch, - const struct target_so_ops * so_ops) + const struct target_so_ops * so_ops) { gdbarch->so_ops =3D so_ops; } @@ -3329,7 +3329,7 @@ gdbarch_skip_solib_resolver (struct gdbarch *gdbarch,= CORE_ADDR pc) =20 void set_gdbarch_skip_solib_resolver (struct gdbarch *gdbarch, - gdbarch_skip_solib_resolver_ftype skip_so= lib_resolver) + gdbarch_skip_solib_resolver_ftype skip_solib_resolver) { gdbarch->skip_solib_resolver =3D skip_solib_resolver; } @@ -3346,7 +3346,7 @@ gdbarch_in_solib_return_trampoline (struct gdbarch *g= dbarch, CORE_ADDR pc, const =20 void set_gdbarch_in_solib_return_trampoline (struct gdbarch *gdbarch, - gdbarch_in_solib_return_trampoline= _ftype in_solib_return_trampoline) + gdbarch_in_solib_return_trampoline_ftype in_solib_return_trampoline) { gdbarch->in_solib_return_trampoline =3D in_solib_return_trampoline; } @@ -3363,7 +3363,7 @@ gdbarch_in_indirect_branch_thunk (struct gdbarch *gdb= arch, CORE_ADDR pc) =20 void set_gdbarch_in_indirect_branch_thunk (struct gdbarch *gdbarch, - gdbarch_in_indirect_branch_thunk_fty= pe in_indirect_branch_thunk) + gdbarch_in_indirect_branch_thunk_ftype in_indirect_branch_thunk) { gdbarch->in_indirect_branch_thunk =3D in_indirect_branch_thunk; } @@ -3380,7 +3380,7 @@ gdbarch_stack_frame_destroyed_p (struct gdbarch *gdba= rch, CORE_ADDR addr) =20 void set_gdbarch_stack_frame_destroyed_p (struct gdbarch *gdbarch, - gdbarch_stack_frame_destroyed_p_ftype= stack_frame_destroyed_p) + gdbarch_stack_frame_destroyed_p_ftype stack_frame_destroyed_p) { gdbarch->stack_frame_destroyed_p =3D stack_frame_destroyed_p; } @@ -3404,7 +3404,7 @@ gdbarch_elf_make_msymbol_special (struct gdbarch *gdb= arch, asymbol *sym, struct =20 void set_gdbarch_elf_make_msymbol_special (struct gdbarch *gdbarch, - gdbarch_elf_make_msymbol_special_fty= pe elf_make_msymbol_special) + gdbarch_elf_make_msymbol_special_ftype elf_make_msymbol_special) { gdbarch->elf_make_msymbol_special =3D elf_make_msymbol_special; } @@ -3421,7 +3421,7 @@ gdbarch_coff_make_msymbol_special (struct gdbarch *gd= barch, int val, struct mini =20 void set_gdbarch_coff_make_msymbol_special (struct gdbarch *gdbarch, - gdbarch_coff_make_msymbol_special_f= type coff_make_msymbol_special) + gdbarch_coff_make_msymbol_special_ftype coff_make_msymbol_speci= al) { gdbarch->coff_make_msymbol_special =3D coff_make_msymbol_special; } @@ -3438,7 +3438,7 @@ gdbarch_make_symbol_special (struct gdbarch *gdbarch,= struct symbol *sym, struct =20 void set_gdbarch_make_symbol_special (struct gdbarch *gdbarch, - gdbarch_make_symbol_special_ftype make_sy= mbol_special) + gdbarch_make_symbol_special_ftype make_symbol_special) { gdbarch->make_symbol_special =3D make_symbol_special; } @@ -3455,7 +3455,7 @@ gdbarch_adjust_dwarf2_addr (struct gdbarch *gdbarch, = CORE_ADDR pc) =20 void set_gdbarch_adjust_dwarf2_addr (struct gdbarch *gdbarch, - gdbarch_adjust_dwarf2_addr_ftype adjust_dw= arf2_addr) + gdbarch_adjust_dwarf2_addr_ftype adjust_dwarf2_addr) { gdbarch->adjust_dwarf2_addr =3D adjust_dwarf2_addr; } @@ -3472,7 +3472,7 @@ gdbarch_adjust_dwarf2_line (struct gdbarch *gdbarch, = CORE_ADDR addr, int rel) =20 void set_gdbarch_adjust_dwarf2_line (struct gdbarch *gdbarch, - gdbarch_adjust_dwarf2_line_ftype adjust_dw= arf2_line) + gdbarch_adjust_dwarf2_line_ftype adjust_dwarf2_line) { gdbarch->adjust_dwarf2_line =3D adjust_dwarf2_line; } @@ -3489,7 +3489,7 @@ gdbarch_cannot_step_breakpoint (struct gdbarch *gdbar= ch) =20 void set_gdbarch_cannot_step_breakpoint (struct gdbarch *gdbarch, - int cannot_step_breakpoint) + int cannot_step_breakpoint) { gdbarch->cannot_step_breakpoint =3D cannot_step_breakpoint; } @@ -3506,7 +3506,7 @@ gdbarch_have_nonsteppable_watchpoint (struct gdbarch = *gdbarch) =20 void set_gdbarch_have_nonsteppable_watchpoint (struct gdbarch *gdbarch, - int have_nonsteppable_watchpoint) + int have_nonsteppable_watchpoint) { gdbarch->have_nonsteppable_watchpoint =3D have_nonsteppable_watchpoint; } @@ -3530,7 +3530,7 @@ gdbarch_address_class_type_flags (struct gdbarch *gdb= arch, int byte_size, int dw =20 void set_gdbarch_address_class_type_flags (struct gdbarch *gdbarch, - gdbarch_address_class_type_flags_fty= pe address_class_type_flags) + gdbarch_address_class_type_flags_ftype address_class_type_flags) { gdbarch->address_class_type_flags =3D address_class_type_flags; } @@ -3554,7 +3554,7 @@ gdbarch_address_class_type_flags_to_name (struct gdba= rch *gdbarch, type_instance =20 void set_gdbarch_address_class_type_flags_to_name (struct gdbarch *gdbarch, - gdbarch_address_class_type_f= lags_to_name_ftype address_class_type_flags_to_name) + gdbarch_address_class_type_flags_to_name_ftype address_class_ty= pe_flags_to_name) { gdbarch->address_class_type_flags_to_name =3D address_class_type_flags_t= o_name; } @@ -3571,7 +3571,7 @@ gdbarch_execute_dwarf_cfa_vendor_op (struct gdbarch *= gdbarch, gdb_byte op, struc =20 void set_gdbarch_execute_dwarf_cfa_vendor_op (struct gdbarch *gdbarch, - gdbarch_execute_dwarf_cfa_vendor_= op_ftype execute_dwarf_cfa_vendor_op) + gdbarch_execute_dwarf_cfa_vendor_op_ftype execute_dwarf_cfa_vendor_o= p) { gdbarch->execute_dwarf_cfa_vendor_op =3D execute_dwarf_cfa_vendor_op; } @@ -3595,7 +3595,7 @@ gdbarch_address_class_name_to_type_flags (struct gdba= rch *gdbarch, const char *n =20 void set_gdbarch_address_class_name_to_type_flags (struct gdbarch *gdbarch, - gdbarch_address_class_name_t= o_type_flags_ftype address_class_name_to_type_flags) + gdbarch_address_class_name_to_type_flags_ftype address_class_na= me_to_type_flags) { gdbarch->address_class_name_to_type_flags =3D address_class_name_to_type= _flags; } @@ -3612,7 +3612,7 @@ gdbarch_register_reggroup_p (struct gdbarch *gdbarch,= int regnum, const struct r =20 void set_gdbarch_register_reggroup_p (struct gdbarch *gdbarch, - gdbarch_register_reggroup_p_ftype registe= r_reggroup_p) + gdbarch_register_reggroup_p_ftype register_reggroup_p) { gdbarch->register_reggroup_p =3D register_reggroup_p; } @@ -3636,7 +3636,7 @@ gdbarch_fetch_pointer_argument (struct gdbarch *gdbar= ch, frame_info_ptr frame, i =20 void set_gdbarch_fetch_pointer_argument (struct gdbarch *gdbarch, - gdbarch_fetch_pointer_argument_ftype f= etch_pointer_argument) + gdbarch_fetch_pointer_argument_ftype fetch_pointer_argument) { gdbarch->fetch_pointer_argument =3D fetch_pointer_argument; } @@ -3660,7 +3660,7 @@ gdbarch_iterate_over_regset_sections (struct gdbarch = *gdbarch, iterate_over_regs =20 void set_gdbarch_iterate_over_regset_sections (struct gdbarch *gdbarch, - gdbarch_iterate_over_regset_sect= ions_ftype iterate_over_regset_sections) + gdbarch_iterate_over_regset_sections_ftype iterate_over_regset_sect= ions) { gdbarch->iterate_over_regset_sections =3D iterate_over_regset_sections; } @@ -3684,7 +3684,7 @@ gdbarch_make_corefile_notes (struct gdbarch *gdbarch,= bfd *obfd, int *note_size) =20 void set_gdbarch_make_corefile_notes (struct gdbarch *gdbarch, - gdbarch_make_corefile_notes_ftype make_co= refile_notes) + gdbarch_make_corefile_notes_ftype make_corefile_notes) { gdbarch->make_corefile_notes =3D make_corefile_notes; } @@ -3708,7 +3708,7 @@ gdbarch_find_memory_regions (struct gdbarch *gdbarch,= find_memory_region_ftype f =20 void set_gdbarch_find_memory_regions (struct gdbarch *gdbarch, - gdbarch_find_memory_regions_ftype find_me= mory_regions) + gdbarch_find_memory_regions_ftype find_memory_regions) { gdbarch->find_memory_regions =3D find_memory_regions; } @@ -3732,7 +3732,7 @@ gdbarch_create_memtag_section (struct gdbarch *gdbarc= h, bfd *obfd, CORE_ADDR add =20 void set_gdbarch_create_memtag_section (struct gdbarch *gdbarch, - gdbarch_create_memtag_section_ftype cre= ate_memtag_section) + gdbarch_create_memtag_section_ftype create_memtag_section) { gdbarch->create_memtag_section =3D create_memtag_section; } @@ -3756,7 +3756,7 @@ gdbarch_fill_memtag_section (struct gdbarch *gdbarch,= asection *osec) =20 void set_gdbarch_fill_memtag_section (struct gdbarch *gdbarch, - gdbarch_fill_memtag_section_ftype fill_me= mtag_section) + gdbarch_fill_memtag_section_ftype fill_memtag_section) { gdbarch->fill_memtag_section =3D fill_memtag_section; } @@ -3780,7 +3780,7 @@ gdbarch_decode_memtag_section (struct gdbarch *gdbarc= h, bfd_section *section, in =20 void set_gdbarch_decode_memtag_section (struct gdbarch *gdbarch, - gdbarch_decode_memtag_section_ftype dec= ode_memtag_section) + gdbarch_decode_memtag_section_ftype decode_memtag_section) { gdbarch->decode_memtag_section =3D decode_memtag_section; } @@ -3804,7 +3804,7 @@ gdbarch_core_xfer_shared_libraries (struct gdbarch *g= dbarch, gdb_byte *readbuf, =20 void set_gdbarch_core_xfer_shared_libraries (struct gdbarch *gdbarch, - gdbarch_core_xfer_shared_libraries= _ftype core_xfer_shared_libraries) + gdbarch_core_xfer_shared_libraries_ftype core_xfer_shared_libraries) { gdbarch->core_xfer_shared_libraries =3D core_xfer_shared_libraries; } @@ -3828,7 +3828,7 @@ gdbarch_core_xfer_shared_libraries_aix (struct gdbarc= h *gdbarch, gdb_byte *readb =20 void set_gdbarch_core_xfer_shared_libraries_aix (struct gdbarch *gdbarch, - gdbarch_core_xfer_shared_libra= ries_aix_ftype core_xfer_shared_libraries_aix) + gdbarch_core_xfer_shared_libraries_aix_ftype core_xfer_shared_lib= raries_aix) { gdbarch->core_xfer_shared_libraries_aix =3D core_xfer_shared_libraries_a= ix; } @@ -3852,7 +3852,7 @@ gdbarch_core_pid_to_str (struct gdbarch *gdbarch, pti= d_t ptid) =20 void set_gdbarch_core_pid_to_str (struct gdbarch *gdbarch, - gdbarch_core_pid_to_str_ftype core_pid_to_str) + gdbarch_core_pid_to_str_ftype core_pid_to_str) { gdbarch->core_pid_to_str =3D core_pid_to_str; } @@ -3876,7 +3876,7 @@ gdbarch_core_thread_name (struct gdbarch *gdbarch, st= ruct thread_info *thr) =20 void set_gdbarch_core_thread_name (struct gdbarch *gdbarch, - gdbarch_core_thread_name_ftype core_thread_n= ame) + gdbarch_core_thread_name_ftype core_thread_name) { gdbarch->core_thread_name =3D core_thread_name; } @@ -3900,7 +3900,7 @@ gdbarch_core_xfer_siginfo (struct gdbarch *gdbarch, g= db_byte *readbuf, ULONGEST =20 void set_gdbarch_core_xfer_siginfo (struct gdbarch *gdbarch, - gdbarch_core_xfer_siginfo_ftype core_xfer_s= iginfo) + gdbarch_core_xfer_siginfo_ftype core_xfer_siginfo) { gdbarch->core_xfer_siginfo =3D core_xfer_siginfo; } @@ -3925,7 +3925,7 @@ gdbarch_gcore_bfd_target (struct gdbarch *gdbarch) =20 void set_gdbarch_gcore_bfd_target (struct gdbarch *gdbarch, - const char * gcore_bfd_target) + const char * gcore_bfd_target) { gdbarch->gcore_bfd_target =3D gcore_bfd_target; } @@ -3942,7 +3942,7 @@ gdbarch_vtable_function_descriptors (struct gdbarch *= gdbarch) =20 void set_gdbarch_vtable_function_descriptors (struct gdbarch *gdbarch, - int vtable_function_descriptors) + int vtable_function_descriptors) { gdbarch->vtable_function_descriptors =3D vtable_function_descriptors; } @@ -3959,7 +3959,7 @@ gdbarch_vbit_in_delta (struct gdbarch *gdbarch) =20 void set_gdbarch_vbit_in_delta (struct gdbarch *gdbarch, - int vbit_in_delta) + int vbit_in_delta) { gdbarch->vbit_in_delta =3D vbit_in_delta; } @@ -3976,7 +3976,7 @@ gdbarch_skip_permanent_breakpoint (struct gdbarch *gd= barch, struct regcache *reg =20 void set_gdbarch_skip_permanent_breakpoint (struct gdbarch *gdbarch, - gdbarch_skip_permanent_breakpoint_f= type skip_permanent_breakpoint) + gdbarch_skip_permanent_breakpoint_ftype skip_permanent_breakpoi= nt) { gdbarch->skip_permanent_breakpoint =3D skip_permanent_breakpoint; } @@ -4001,7 +4001,7 @@ gdbarch_max_insn_length (struct gdbarch *gdbarch) =20 void set_gdbarch_max_insn_length (struct gdbarch *gdbarch, - ULONGEST max_insn_length) + ULONGEST max_insn_length) { gdbarch->max_insn_length =3D max_insn_length; } @@ -4025,7 +4025,7 @@ gdbarch_displaced_step_copy_insn (struct gdbarch *gdb= arch, CORE_ADDR from, CORE_ =20 void set_gdbarch_displaced_step_copy_insn (struct gdbarch *gdbarch, - gdbarch_displaced_step_copy_insn_fty= pe displaced_step_copy_insn) + gdbarch_displaced_step_copy_insn_ftype displaced_step_copy_insn) { gdbarch->displaced_step_copy_insn =3D displaced_step_copy_insn; } @@ -4042,7 +4042,7 @@ gdbarch_displaced_step_hw_singlestep (struct gdbarch = *gdbarch) =20 void set_gdbarch_displaced_step_hw_singlestep (struct gdbarch *gdbarch, - gdbarch_displaced_step_hw_single= step_ftype displaced_step_hw_singlestep) + gdbarch_displaced_step_hw_singlestep_ftype displaced_step_hw_single= step) { gdbarch->displaced_step_hw_singlestep =3D displaced_step_hw_singlestep; } @@ -4067,7 +4067,7 @@ gdbarch_displaced_step_fixup (struct gdbarch *gdbarch= , struct displaced_step_cop =20 void set_gdbarch_displaced_step_fixup (struct gdbarch *gdbarch, - gdbarch_displaced_step_fixup_ftype displ= aced_step_fixup) + gdbarch_displaced_step_fixup_ftype displaced_step_fixup) { gdbarch->displaced_step_fixup =3D displaced_step_fixup; } @@ -4091,7 +4091,7 @@ gdbarch_displaced_step_prepare (struct gdbarch *gdbar= ch, thread_info *thread, CO =20 void set_gdbarch_displaced_step_prepare (struct gdbarch *gdbarch, - gdbarch_displaced_step_prepare_ftype d= isplaced_step_prepare) + gdbarch_displaced_step_prepare_ftype displaced_step_prepare) { gdbarch->displaced_step_prepare =3D displaced_step_prepare; } @@ -4108,7 +4108,7 @@ gdbarch_displaced_step_finish (struct gdbarch *gdbarc= h, thread_info *thread, gdb =20 void set_gdbarch_displaced_step_finish (struct gdbarch *gdbarch, - gdbarch_displaced_step_finish_ftype dis= placed_step_finish) + gdbarch_displaced_step_finish_ftype displaced_step_finish) { gdbarch->displaced_step_finish =3D displaced_step_finish; } @@ -4132,7 +4132,7 @@ gdbarch_displaced_step_copy_insn_closure_by_addr (str= uct gdbarch *gdbarch, infer =20 void set_gdbarch_displaced_step_copy_insn_closure_by_addr (struct gdbarch *gdba= rch, - gdbarch_displaced_st= ep_copy_insn_closure_by_addr_ftype displaced_step_copy_insn_closure_by_addr) + gdbarch_displaced_step_copy_insn_closure_by_addr_ftype displac= ed_step_copy_insn_closure_by_addr) { gdbarch->displaced_step_copy_insn_closure_by_addr =3D displaced_step_cop= y_insn_closure_by_addr; } @@ -4149,7 +4149,7 @@ gdbarch_displaced_step_restore_all_in_ptid (struct gd= barch *gdbarch, inferior *p =20 void set_gdbarch_displaced_step_restore_all_in_ptid (struct gdbarch *gdbarch, - gdbarch_displaced_step_res= tore_all_in_ptid_ftype displaced_step_restore_all_in_ptid) + gdbarch_displaced_step_restore_all_in_ptid_ftype displaced_step_rest= ore_all_in_ptid) { gdbarch->displaced_step_restore_all_in_ptid =3D displaced_step_restore_a= ll_in_ptid; } @@ -4174,7 +4174,7 @@ gdbarch_relocate_instruction (struct gdbarch *gdbarch= , CORE_ADDR *to, CORE_ADDR =20 void set_gdbarch_relocate_instruction (struct gdbarch *gdbarch, - gdbarch_relocate_instruction_ftype reloc= ate_instruction) + gdbarch_relocate_instruction_ftype relocate_instruction) { gdbarch->relocate_instruction =3D relocate_instruction; } @@ -4198,7 +4198,7 @@ gdbarch_overlay_update (struct gdbarch *gdbarch, stru= ct obj_section *osect) =20 void set_gdbarch_overlay_update (struct gdbarch *gdbarch, - gdbarch_overlay_update_ftype overlay_update) + gdbarch_overlay_update_ftype overlay_update) { gdbarch->overlay_update =3D overlay_update; } @@ -4222,7 +4222,7 @@ gdbarch_core_read_description (struct gdbarch *gdbarc= h, struct target_ops *targe =20 void set_gdbarch_core_read_description (struct gdbarch *gdbarch, - gdbarch_core_read_description_ftype cor= e_read_description) + gdbarch_core_read_description_ftype core_read_description) { gdbarch->core_read_description =3D core_read_description; } @@ -4239,7 +4239,7 @@ gdbarch_sofun_address_maybe_missing (struct gdbarch *= gdbarch) =20 void set_gdbarch_sofun_address_maybe_missing (struct gdbarch *gdbarch, - int sofun_address_maybe_missing) + int sofun_address_maybe_missing) { gdbarch->sofun_address_maybe_missing =3D sofun_address_maybe_missing; } @@ -4263,7 +4263,7 @@ gdbarch_process_record (struct gdbarch *gdbarch, stru= ct regcache *regcache, CORE =20 void set_gdbarch_process_record (struct gdbarch *gdbarch, - gdbarch_process_record_ftype process_record) + gdbarch_process_record_ftype process_record) { gdbarch->process_record =3D process_record; } @@ -4287,7 +4287,7 @@ gdbarch_process_record_signal (struct gdbarch *gdbarc= h, struct regcache *regcach =20 void set_gdbarch_process_record_signal (struct gdbarch *gdbarch, - gdbarch_process_record_signal_ftype pro= cess_record_signal) + gdbarch_process_record_signal_ftype process_record_signal) { gdbarch->process_record_signal =3D process_record_signal; } @@ -4311,7 +4311,7 @@ gdbarch_gdb_signal_from_target (struct gdbarch *gdbar= ch, int signo) =20 void set_gdbarch_gdb_signal_from_target (struct gdbarch *gdbarch, - gdbarch_gdb_signal_from_target_ftype g= db_signal_from_target) + gdbarch_gdb_signal_from_target_ftype gdb_signal_from_target) { gdbarch->gdb_signal_from_target =3D gdb_signal_from_target; } @@ -4335,7 +4335,7 @@ gdbarch_gdb_signal_to_target (struct gdbarch *gdbarch= , enum gdb_signal signal) =20 void set_gdbarch_gdb_signal_to_target (struct gdbarch *gdbarch, - gdbarch_gdb_signal_to_target_ftype gdb_s= ignal_to_target) + gdbarch_gdb_signal_to_target_ftype gdb_signal_to_target) { gdbarch->gdb_signal_to_target =3D gdb_signal_to_target; } @@ -4359,7 +4359,7 @@ gdbarch_get_siginfo_type (struct gdbarch *gdbarch) =20 void set_gdbarch_get_siginfo_type (struct gdbarch *gdbarch, - gdbarch_get_siginfo_type_ftype get_siginfo_t= ype) + gdbarch_get_siginfo_type_ftype get_siginfo_type) { gdbarch->get_siginfo_type =3D get_siginfo_type; } @@ -4383,7 +4383,7 @@ gdbarch_record_special_symbol (struct gdbarch *gdbarc= h, struct objfile *objfile, =20 void set_gdbarch_record_special_symbol (struct gdbarch *gdbarch, - gdbarch_record_special_symbol_ftype rec= ord_special_symbol) + gdbarch_record_special_symbol_ftype record_special_symbol) { gdbarch->record_special_symbol =3D record_special_symbol; } @@ -4407,7 +4407,7 @@ gdbarch_get_syscall_number (struct gdbarch *gdbarch, = thread_info *thread) =20 void set_gdbarch_get_syscall_number (struct gdbarch *gdbarch, - gdbarch_get_syscall_number_ftype get_sysca= ll_number) + gdbarch_get_syscall_number_ftype get_syscall_number) { gdbarch->get_syscall_number =3D get_syscall_number; } @@ -4424,7 +4424,7 @@ gdbarch_xml_syscall_file (struct gdbarch *gdbarch) =20 void set_gdbarch_xml_syscall_file (struct gdbarch *gdbarch, - const char * xml_syscall_file) + const char * xml_syscall_file) { gdbarch->xml_syscall_file =3D xml_syscall_file; } @@ -4441,7 +4441,7 @@ gdbarch_syscalls_info (struct gdbarch *gdbarch) =20 void set_gdbarch_syscalls_info (struct gdbarch *gdbarch, - struct syscalls_info * syscalls_info) + struct syscalls_info * syscalls_info) { gdbarch->syscalls_info =3D syscalls_info; } @@ -4458,7 +4458,7 @@ gdbarch_stap_integer_prefixes (struct gdbarch *gdbarc= h) =20 void set_gdbarch_stap_integer_prefixes (struct gdbarch *gdbarch, - const char *const * stap_integer_prefix= es) + const char *const * stap_integer_prefixes) { gdbarch->stap_integer_prefixes =3D stap_integer_prefixes; } @@ -4475,7 +4475,7 @@ gdbarch_stap_integer_suffixes (struct gdbarch *gdbarc= h) =20 void set_gdbarch_stap_integer_suffixes (struct gdbarch *gdbarch, - const char *const * stap_integer_suffix= es) + const char *const * stap_integer_suffixes) { gdbarch->stap_integer_suffixes =3D stap_integer_suffixes; } @@ -4492,7 +4492,7 @@ gdbarch_stap_register_prefixes (struct gdbarch *gdbar= ch) =20 void set_gdbarch_stap_register_prefixes (struct gdbarch *gdbarch, - const char *const * stap_register_pref= ixes) + const char *const * stap_register_prefixes) { gdbarch->stap_register_prefixes =3D stap_register_prefixes; } @@ -4509,7 +4509,7 @@ gdbarch_stap_register_suffixes (struct gdbarch *gdbar= ch) =20 void set_gdbarch_stap_register_suffixes (struct gdbarch *gdbarch, - const char *const * stap_register_suff= ixes) + const char *const * stap_register_suffixes) { gdbarch->stap_register_suffixes =3D stap_register_suffixes; } @@ -4526,7 +4526,7 @@ gdbarch_stap_register_indirection_prefixes (struct gd= barch *gdbarch) =20 void set_gdbarch_stap_register_indirection_prefixes (struct gdbarch *gdbarch, - const char *const * stap_r= egister_indirection_prefixes) + const char *const * stap_register_indirection_prefixes) { gdbarch->stap_register_indirection_prefixes =3D stap_register_indirectio= n_prefixes; } @@ -4543,7 +4543,7 @@ gdbarch_stap_register_indirection_suffixes (struct gd= barch *gdbarch) =20 void set_gdbarch_stap_register_indirection_suffixes (struct gdbarch *gdbarch, - const char *const * stap_r= egister_indirection_suffixes) + const char *const * stap_register_indirection_suffixes) { gdbarch->stap_register_indirection_suffixes =3D stap_register_indirectio= n_suffixes; } @@ -4560,7 +4560,7 @@ gdbarch_stap_gdb_register_prefix (struct gdbarch *gdb= arch) =20 void set_gdbarch_stap_gdb_register_prefix (struct gdbarch *gdbarch, - const char * stap_gdb_register_prefi= x) + const char * stap_gdb_register_prefix) { gdbarch->stap_gdb_register_prefix =3D stap_gdb_register_prefix; } @@ -4577,7 +4577,7 @@ gdbarch_stap_gdb_register_suffix (struct gdbarch *gdb= arch) =20 void set_gdbarch_stap_gdb_register_suffix (struct gdbarch *gdbarch, - const char * stap_gdb_register_suffi= x) + const char * stap_gdb_register_suffix) { gdbarch->stap_gdb_register_suffix =3D stap_gdb_register_suffix; } @@ -4601,7 +4601,7 @@ gdbarch_stap_is_single_operand (struct gdbarch *gdbar= ch, const char *s) =20 void set_gdbarch_stap_is_single_operand (struct gdbarch *gdbarch, - gdbarch_stap_is_single_operand_ftype s= tap_is_single_operand) + gdbarch_stap_is_single_operand_ftype stap_is_single_operand) { gdbarch->stap_is_single_operand =3D stap_is_single_operand; } @@ -4625,7 +4625,7 @@ gdbarch_stap_parse_special_token (struct gdbarch *gdb= arch, struct stap_parse_inf =20 void set_gdbarch_stap_parse_special_token (struct gdbarch *gdbarch, - gdbarch_stap_parse_special_token_fty= pe stap_parse_special_token) + gdbarch_stap_parse_special_token_ftype stap_parse_special_token) { gdbarch->stap_parse_special_token =3D stap_parse_special_token; } @@ -4649,7 +4649,7 @@ gdbarch_stap_adjust_register (struct gdbarch *gdbarch= , struct stap_parse_info *p =20 void set_gdbarch_stap_adjust_register (struct gdbarch *gdbarch, - gdbarch_stap_adjust_register_ftype stap_= adjust_register) + gdbarch_stap_adjust_register_ftype stap_adjust_register) { gdbarch->stap_adjust_register =3D stap_adjust_register; } @@ -4673,7 +4673,7 @@ gdbarch_dtrace_parse_probe_argument (struct gdbarch *= gdbarch, int narg) =20 void set_gdbarch_dtrace_parse_probe_argument (struct gdbarch *gdbarch, - gdbarch_dtrace_parse_probe_argume= nt_ftype dtrace_parse_probe_argument) + gdbarch_dtrace_parse_probe_argument_ftype dtrace_parse_probe_argumen= t) { gdbarch->dtrace_parse_probe_argument =3D dtrace_parse_probe_argument; } @@ -4697,7 +4697,7 @@ gdbarch_dtrace_probe_is_enabled (struct gdbarch *gdba= rch, CORE_ADDR addr) =20 void set_gdbarch_dtrace_probe_is_enabled (struct gdbarch *gdbarch, - gdbarch_dtrace_probe_is_enabled_ftype= dtrace_probe_is_enabled) + gdbarch_dtrace_probe_is_enabled_ftype dtrace_probe_is_enabled) { gdbarch->dtrace_probe_is_enabled =3D dtrace_probe_is_enabled; } @@ -4721,7 +4721,7 @@ gdbarch_dtrace_enable_probe (struct gdbarch *gdbarch,= CORE_ADDR addr) =20 void set_gdbarch_dtrace_enable_probe (struct gdbarch *gdbarch, - gdbarch_dtrace_enable_probe_ftype dtrace_= enable_probe) + gdbarch_dtrace_enable_probe_ftype dtrace_enable_probe) { gdbarch->dtrace_enable_probe =3D dtrace_enable_probe; } @@ -4745,7 +4745,7 @@ gdbarch_dtrace_disable_probe (struct gdbarch *gdbarch= , CORE_ADDR addr) =20 void set_gdbarch_dtrace_disable_probe (struct gdbarch *gdbarch, - gdbarch_dtrace_disable_probe_ftype dtrac= e_disable_probe) + gdbarch_dtrace_disable_probe_ftype dtrace_disable_probe) { gdbarch->dtrace_disable_probe =3D dtrace_disable_probe; } @@ -4762,7 +4762,7 @@ gdbarch_has_global_solist (struct gdbarch *gdbarch) =20 void set_gdbarch_has_global_solist (struct gdbarch *gdbarch, - int has_global_solist) + int has_global_solist) { gdbarch->has_global_solist =3D has_global_solist; } @@ -4779,7 +4779,7 @@ gdbarch_has_global_breakpoints (struct gdbarch *gdbar= ch) =20 void set_gdbarch_has_global_breakpoints (struct gdbarch *gdbarch, - int has_global_breakpoints) + int has_global_breakpoints) { gdbarch->has_global_breakpoints =3D has_global_breakpoints; } @@ -4796,7 +4796,7 @@ gdbarch_has_shared_address_space (struct gdbarch *gdb= arch) =20 void set_gdbarch_has_shared_address_space (struct gdbarch *gdbarch, - gdbarch_has_shared_address_space_fty= pe has_shared_address_space) + gdbarch_has_shared_address_space_ftype has_shared_address_space) { gdbarch->has_shared_address_space =3D has_shared_address_space; } @@ -4813,7 +4813,7 @@ gdbarch_fast_tracepoint_valid_at (struct gdbarch *gdb= arch, CORE_ADDR addr, std:: =20 void set_gdbarch_fast_tracepoint_valid_at (struct gdbarch *gdbarch, - gdbarch_fast_tracepoint_valid_at_fty= pe fast_tracepoint_valid_at) + gdbarch_fast_tracepoint_valid_at_ftype fast_tracepoint_valid_at) { gdbarch->fast_tracepoint_valid_at =3D fast_tracepoint_valid_at; } @@ -4830,7 +4830,7 @@ gdbarch_guess_tracepoint_registers (struct gdbarch *g= dbarch, struct regcache *re =20 void set_gdbarch_guess_tracepoint_registers (struct gdbarch *gdbarch, - gdbarch_guess_tracepoint_registers= _ftype guess_tracepoint_registers) + gdbarch_guess_tracepoint_registers_ftype guess_tracepoint_registers) { gdbarch->guess_tracepoint_registers =3D guess_tracepoint_registers; } @@ -4847,7 +4847,7 @@ gdbarch_auto_charset (struct gdbarch *gdbarch) =20 void set_gdbarch_auto_charset (struct gdbarch *gdbarch, - gdbarch_auto_charset_ftype auto_charset) + gdbarch_auto_charset_ftype auto_charset) { gdbarch->auto_charset =3D auto_charset; } @@ -4864,7 +4864,7 @@ gdbarch_auto_wide_charset (struct gdbarch *gdbarch) =20 void set_gdbarch_auto_wide_charset (struct gdbarch *gdbarch, - gdbarch_auto_wide_charset_ftype auto_wide_c= harset) + gdbarch_auto_wide_charset_ftype auto_wide_charset) { gdbarch->auto_wide_charset =3D auto_wide_charset; } @@ -4881,7 +4881,7 @@ gdbarch_solib_symbols_extension (struct gdbarch *gdba= rch) =20 void set_gdbarch_solib_symbols_extension (struct gdbarch *gdbarch, - const char * solib_symbols_extension) + const char * solib_symbols_extension) { gdbarch->solib_symbols_extension =3D solib_symbols_extension; } @@ -4898,7 +4898,7 @@ gdbarch_has_dos_based_file_system (struct gdbarch *gd= barch) =20 void set_gdbarch_has_dos_based_file_system (struct gdbarch *gdbarch, - int has_dos_based_file_system) + int has_dos_based_file_system) { gdbarch->has_dos_based_file_system =3D has_dos_based_file_system; } @@ -4915,7 +4915,7 @@ gdbarch_gen_return_address (struct gdbarch *gdbarch, = struct agent_expr *ax, stru =20 void set_gdbarch_gen_return_address (struct gdbarch *gdbarch, - gdbarch_gen_return_address_ftype gen_retur= n_address) + gdbarch_gen_return_address_ftype gen_return_address) { gdbarch->gen_return_address =3D gen_return_address; } @@ -4939,7 +4939,7 @@ gdbarch_info_proc (struct gdbarch *gdbarch, const cha= r *args, enum info_proc_wha =20 void set_gdbarch_info_proc (struct gdbarch *gdbarch, - gdbarch_info_proc_ftype info_proc) + gdbarch_info_proc_ftype info_proc) { gdbarch->info_proc =3D info_proc; } @@ -4963,7 +4963,7 @@ gdbarch_core_info_proc (struct gdbarch *gdbarch, cons= t char *args, enum info_pro =20 void set_gdbarch_core_info_proc (struct gdbarch *gdbarch, - gdbarch_core_info_proc_ftype core_info_proc) + gdbarch_core_info_proc_ftype core_info_proc) { gdbarch->core_info_proc =3D core_info_proc; } @@ -4980,7 +4980,7 @@ gdbarch_iterate_over_objfiles_in_search_order (struct= gdbarch *gdbarch, iterate_ =20 void set_gdbarch_iterate_over_objfiles_in_search_order (struct gdbarch *gdbarch, - gdbarch_iterate_over_ob= jfiles_in_search_order_ftype iterate_over_objfiles_in_search_order) + gdbarch_iterate_over_objfiles_in_search_order_ftype iterate_over_= objfiles_in_search_order) { gdbarch->iterate_over_objfiles_in_search_order =3D iterate_over_objfiles= _in_search_order; } @@ -4997,7 +4997,7 @@ gdbarch_ravenscar_ops (struct gdbarch *gdbarch) =20 void set_gdbarch_ravenscar_ops (struct gdbarch *gdbarch, - struct ravenscar_arch_ops * ravenscar_ops) + struct ravenscar_arch_ops * ravenscar_ops) { gdbarch->ravenscar_ops =3D ravenscar_ops; } @@ -5014,7 +5014,7 @@ gdbarch_insn_is_call (struct gdbarch *gdbarch, CORE_A= DDR addr) =20 void set_gdbarch_insn_is_call (struct gdbarch *gdbarch, - gdbarch_insn_is_call_ftype insn_is_call) + gdbarch_insn_is_call_ftype insn_is_call) { gdbarch->insn_is_call =3D insn_is_call; } @@ -5031,7 +5031,7 @@ gdbarch_insn_is_ret (struct gdbarch *gdbarch, CORE_AD= DR addr) =20 void set_gdbarch_insn_is_ret (struct gdbarch *gdbarch, - gdbarch_insn_is_ret_ftype insn_is_ret) + gdbarch_insn_is_ret_ftype insn_is_ret) { gdbarch->insn_is_ret =3D insn_is_ret; } @@ -5048,7 +5048,7 @@ gdbarch_insn_is_jump (struct gdbarch *gdbarch, CORE_A= DDR addr) =20 void set_gdbarch_insn_is_jump (struct gdbarch *gdbarch, - gdbarch_insn_is_jump_ftype insn_is_jump) + gdbarch_insn_is_jump_ftype insn_is_jump) { gdbarch->insn_is_jump =3D insn_is_jump; } @@ -5065,7 +5065,7 @@ gdbarch_program_breakpoint_here_p (struct gdbarch *gd= barch, CORE_ADDR address) =20 void set_gdbarch_program_breakpoint_here_p (struct gdbarch *gdbarch, - gdbarch_program_breakpoint_here_p_f= type program_breakpoint_here_p) + gdbarch_program_breakpoint_here_p_ftype program_breakpoint_here= _p) { gdbarch->program_breakpoint_here_p =3D program_breakpoint_here_p; } @@ -5089,7 +5089,7 @@ gdbarch_auxv_parse (struct gdbarch *gdbarch, const gd= b_byte **readptr, const gdb =20 void set_gdbarch_auxv_parse (struct gdbarch *gdbarch, - gdbarch_auxv_parse_ftype auxv_parse) + gdbarch_auxv_parse_ftype auxv_parse) { gdbarch->auxv_parse =3D auxv_parse; } @@ -5106,7 +5106,7 @@ gdbarch_print_auxv_entry (struct gdbarch *gdbarch, st= ruct ui_file *file, CORE_AD =20 void set_gdbarch_print_auxv_entry (struct gdbarch *gdbarch, - gdbarch_print_auxv_entry_ftype print_auxv_en= try) + gdbarch_print_auxv_entry_ftype print_auxv_entry) { gdbarch->print_auxv_entry =3D print_auxv_entry; } @@ -5123,7 +5123,7 @@ gdbarch_vsyscall_range (struct gdbarch *gdbarch, stru= ct mem_range *range) =20 void set_gdbarch_vsyscall_range (struct gdbarch *gdbarch, - gdbarch_vsyscall_range_ftype vsyscall_range) + gdbarch_vsyscall_range_ftype vsyscall_range) { gdbarch->vsyscall_range =3D vsyscall_range; } @@ -5140,7 +5140,7 @@ gdbarch_infcall_mmap (struct gdbarch *gdbarch, CORE_A= DDR size, unsigned prot) =20 void set_gdbarch_infcall_mmap (struct gdbarch *gdbarch, - gdbarch_infcall_mmap_ftype infcall_mmap) + gdbarch_infcall_mmap_ftype infcall_mmap) { gdbarch->infcall_mmap =3D infcall_mmap; } @@ -5157,7 +5157,7 @@ gdbarch_infcall_munmap (struct gdbarch *gdbarch, CORE= _ADDR addr, CORE_ADDR size) =20 void set_gdbarch_infcall_munmap (struct gdbarch *gdbarch, - gdbarch_infcall_munmap_ftype infcall_munmap) + gdbarch_infcall_munmap_ftype infcall_munmap) { gdbarch->infcall_munmap =3D infcall_munmap; } @@ -5174,7 +5174,7 @@ gdbarch_gcc_target_options (struct gdbarch *gdbarch) =20 void set_gdbarch_gcc_target_options (struct gdbarch *gdbarch, - gdbarch_gcc_target_options_ftype gcc_targe= t_options) + gdbarch_gcc_target_options_ftype gcc_target_options) { gdbarch->gcc_target_options =3D gcc_target_options; } @@ -5191,7 +5191,7 @@ gdbarch_gnu_triplet_regexp (struct gdbarch *gdbarch) =20 void set_gdbarch_gnu_triplet_regexp (struct gdbarch *gdbarch, - gdbarch_gnu_triplet_regexp_ftype gnu_tripl= et_regexp) + gdbarch_gnu_triplet_regexp_ftype gnu_triplet_regexp) { gdbarch->gnu_triplet_regexp =3D gnu_triplet_regexp; } @@ -5208,7 +5208,7 @@ gdbarch_addressable_memory_unit_size (struct gdbarch = *gdbarch) =20 void set_gdbarch_addressable_memory_unit_size (struct gdbarch *gdbarch, - gdbarch_addressable_memory_unit_= size_ftype addressable_memory_unit_size) + gdbarch_addressable_memory_unit_size_ftype addressable_memory_unit_= size) { gdbarch->addressable_memory_unit_size =3D addressable_memory_unit_size; } @@ -5225,7 +5225,7 @@ gdbarch_disassembler_options_implicit (struct gdbarch= *gdbarch) =20 void set_gdbarch_disassembler_options_implicit (struct gdbarch *gdbarch, - const char * disassembler_optio= ns_implicit) + const char * disassembler_options_implicit) { gdbarch->disassembler_options_implicit =3D disassembler_options_implicit; } @@ -5242,7 +5242,7 @@ gdbarch_disassembler_options (struct gdbarch *gdbarch) =20 void set_gdbarch_disassembler_options (struct gdbarch *gdbarch, - char ** disassembler_options) + char ** disassembler_options) { gdbarch->disassembler_options =3D disassembler_options; } @@ -5259,7 +5259,7 @@ gdbarch_valid_disassembler_options (struct gdbarch *g= dbarch) =20 void set_gdbarch_valid_disassembler_options (struct gdbarch *gdbarch, - const disasm_options_and_args_t * = valid_disassembler_options) + const disasm_options_and_args_t * valid_disassembler_options) { gdbarch->valid_disassembler_options =3D valid_disassembler_options; } @@ -5276,7 +5276,7 @@ gdbarch_type_align (struct gdbarch *gdbarch, struct t= ype *type) =20 void set_gdbarch_type_align (struct gdbarch *gdbarch, - gdbarch_type_align_ftype type_align) + gdbarch_type_align_ftype type_align) { gdbarch->type_align =3D type_align; } @@ -5293,7 +5293,7 @@ gdbarch_get_pc_address_flags (struct gdbarch *gdbarch= , frame_info_ptr frame, COR =20 void set_gdbarch_get_pc_address_flags (struct gdbarch *gdbarch, - gdbarch_get_pc_address_flags_ftype get_p= c_address_flags) + gdbarch_get_pc_address_flags_ftype get_pc_address_flags) { gdbarch->get_pc_address_flags =3D get_pc_address_flags; } @@ -5310,7 +5310,7 @@ gdbarch_read_core_file_mappings (struct gdbarch *gdba= rch, struct bfd *cbfd, read =20 void set_gdbarch_read_core_file_mappings (struct gdbarch *gdbarch, - gdbarch_read_core_file_mappings_ftype= read_core_file_mappings) + gdbarch_read_core_file_mappings_ftype read_core_file_mappings) { gdbarch->read_core_file_mappings =3D read_core_file_mappings; } diff --git a/gdb/gdbarch.py b/gdb/gdbarch.py index 6980421fe77..4ab0934f1ba 100755 --- a/gdb/gdbarch.py +++ b/gdb/gdbarch.py @@ -26,6 +26,11 @@ import gdbcopyright components =3D [] =20 =20 +def indentation(n_columns): + """Return string with tabs and spaces to indent line to N_COLUMNS.""" + return "\t" * (n_columns // 8) + " " * (n_columns % 8) + + def join_type_and_name(t, n): "Combine the type T and the name N into a C declaration." if t.endswith("*") or t.endswith("&"): @@ -474,11 +479,11 @@ with open("gdbarch.c", "w") as f: print("}", file=3Df) print(file=3Df) print("void", file=3Df) - print(f"set_gdbarch_{c.name} (struct gdbarch *gdbarch,", file= =3Df) - print( - f" {' ' * len(c.name)} gdbarch_{c.name}_ftype = {c.name})", - file=3Df, - ) + setter_name =3D f"set_gdbarch_{c.name}" + ftype_name =3D f"gdbarch_{c.name}_ftype" + print(f"{setter_name} (struct gdbarch *gdbarch,", file=3Df) + indent_columns =3D len(f"{setter_name} (") + print(f"{indentation(indent_columns)}{ftype_name} {c.name})", = file=3Df) print("{", file=3Df) print(f" gdbarch->{c.name} =3D {c.name};", file=3Df) print("}", file=3Df) @@ -505,8 +510,10 @@ with open("gdbarch.c", "w") as f: print("}", file=3Df) print(file=3Df) print("void", file=3Df) - print(f"set_gdbarch_{c.name} (struct gdbarch *gdbarch,", file= =3Df) - print(f" {' ' * len(c.name)} {c.type} {c.name})", = file=3Df) + setter_name =3D f"set_gdbarch_{c.name}" + print(f"{setter_name} (struct gdbarch *gdbarch,", file=3Df) + indent_columns =3D len(f"{setter_name} (") + print(f"{indentation(indent_columns)}{c.type} {c.name})", file= =3Df) print("{", file=3Df) print(f" gdbarch->{c.name} =3D {c.name};", file=3Df) print("}", file=3Df)