Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: uweigand@de.ibm.com (Ulrich Weigand)
Cc: simon.marchi@polymtl.ca (Simon Marchi), gdb-patches@sourceware.org
Subject: Re: [RFC] Make init_type/arch_type take a size in bits
Date: Wed, 27 Sep 2017 17:08:00 -0000	[thread overview]
Message-ID: <20170927170803.30330D835F0@oc3748833570.ibm.com> (raw)
In-Reply-To: <20170920162802.D3D70D83593@oc3748833570.ibm.com> from "Ulrich Weigand" at Sep 20, 2017 06:28:02 PM

> ChangeLog:
> 
> 	* gdbtypes.c (init_type): Change incoming argument from
> 	lenght-in-bytes to lenght-in-bits.  Assert length is a
> 	multiple of TARGET_CHAR_BITS.
> 	(arch_type, arch_flags_type): Likewise.
> 	(init_integer_type): Update call to init_type.
> 	(init_character_type): Likewise.
> 	(init_boolean_type): Likewise.
> 	(init_float_type): Likewise.
> 	(init_decfloat_type): Likewise.
> 	(init_complex_type): Likewise.
> 	(init_pointer_type): Likewise.
> 	(objfile_type): Likewise.
> 	(arch_integer_type): Update call to arch_type.
> 	(arch_character_type): Likewise.
> 	(arch_boolean_type): Likewise.
> 	(arch_float_type): Likewise.
> 	(arch_decfloat_type): Likewise.
> 	(arch_complex_type): Likewise.
> 	(arch_pointer_type): Likewise.
> 	(gdbtypes_post_init): Likewise.
> 
> 	* dwarf2read.c (dwarf2_init_float_type): Update call to init_type.
> 	(read_base_type): Likewise.
> 	* mdebugread.c (basic_type): Likewise.
> 	* stabsread.c (dbx_init_float_type): Likewise.
> 	(rs6000_builtin_type): Likewise.
> 	(read_range_type): Likewise.  Also, fix call to init_integer_type
> 	with erroneous length argument.
> 
> 	* ada-lang.c (ada_language_arch_info): Update call to arch_type.
> 	* d-lang.c (build_d_types): Likewise.
> 	* f-lang.c (build_fortran_types): Likewise.
> 	* go-lang.c (build_go_types): Likewise.
> 	* opencl-lang.c (build_opencl_types): Likewise.
> 	* jit.c (finalize_symtab): Likewise.
> 	* gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
> 	(build_std_type_info_type): Likewise.
> 	* target-descriptions.c (tdesc_gdb_type): Likewise.  Also,
> 	update call to arch_flags_type.
> 
> 	* linux-tdep.c (linux_get_siginfo_type_with_fields): Update call to
> 	arch_type.
> 	* fbsd-tdep.c (fbsd_get_siginfo_type): Likewise.
> 	* windows-tdep.c (windows_get_tlb_type): Likewise.
> 
> 	* avr-tdep.c (avr_gdbarch_init): Update call to arch_type.
> 	* ft32-tdep.c (ft32_gdbarch_init): Likewise.
> 	* m32c-tdep.c (make_types): Likewise.
> 	* rl78-tdep.c (rl78_gdbarch_init): Likewise.
> 	(rl78_psw_type): Update call to arch_flags_type.
> 	* m68k-tdep.c (m68k_ps_type): Update call to arch_flags_type.
> 	* rx-tdep.c (rx_psw_type): Likewise.
> 	(rx_fpsw_type): Likewise.
> 	* sparc-tdep.c (sparc_psr_type): Likewise.
> 	(sparc_fsr_type): Likewise.
> 	* sparc64-tdep.c (sparc64_pstate_type): Likewise.
> 	(sparc64_ccr_type): Likewise.
> 	(sparc64_fsr_type): Likewise.
> 	(sparc64_fprs_type): Likewise.

I've pushed this now.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


      reply	other threads:[~2017-09-27 17:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170920135111.469B4D835E2@oc3748833570.ibm.com>
2017-09-20 14:40 ` Simon Marchi
2017-09-20 16:28   ` Ulrich Weigand
2017-09-27 17:08     ` Ulrich Weigand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170927170803.30330D835F0@oc3748833570.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simon.marchi@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox