This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFC: Add TARGET_BFD_VMA_BIT, builtin_type_{CORE_ADDR,ptr,bfd_vma}
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>, Jimmy Guo <guo at cup dot hp dot com>
- Subject: Re: RFC: Add TARGET_BFD_VMA_BIT, builtin_type_{CORE_ADDR,ptr,bfd_vma}
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 09 Dec 1999 16:45:39 +1100
- Organization: Cygnus Solutions
- References: <384B8E43.44DA5126@cygnus.com>
Andrew Cagney wrote:
> Mon Dec 6 20:31:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
>
> * gdbarch.sh: Replace field init_p with invalid_p.
> (TARGET_BFD_VMA_BIT): New architecture vector method. Defaults to
> architecture bits_per_address.
> * gdbarch.h, gdbarch.c: Update.
> * defs.h (TARGET_BFD_VMA_BIT): Provide default of TARGET_PTR_BIT
> for non- multi-arch case.
>
> * gdbtypes.h (builtin_type_bfd_vma, builtin_type_ptr,
> builtin_type_CORE_ADDR): New GDB specific address types.
> * gdbtypes.c (_initialize_gdbtypes, build_gdbtypes): Initialize
> new builtin types.
FYI,
I've checked this in.
Andrew