This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [rfc] Re: host_pointer_to_address() === (CORE_ADDR) (void*) (val)


Andrew Cagney wrote:

> Wed May 31 21:41:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
> 
>         * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Change buf
>         to a void pointer.  Update initial values.
>         * gdbarch.h, gdbarch.c: Re-generate.
> 
>         * findvar.c (address_to_signed_pointer,
>         signed_pointer_to_address): New functions.
>         * inferior.h (signed_pointer_to_address,
>         signed_address_to_pointer): Declare.
> 
>         * inferior.h, findvar.c (unsigned_pointer_to_address,
>         address_to_unsigned_pointer): Rename generic_address_to_pointer
>         and generic_pointer_to_address.  Update signatures to match
>         gdbarch changes.
> 
>         * config/mips/tm-mips.h (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER):
>         Define. MIPS has signed pointers.
> 
>         * defs.h, utils.c (host_pointer_to_address,
>         address_to_host_pointer): New functions.
>         * irix5-nat.c (next_link_map_member, first_link_map_member),
>         procfs.c (proc_set_watchpoint, proc_iterate_over_mappings): Use.
> 
>         * irix5-nat.c (solib_map_sections, symbol_add_stub): Change
>         function signature to match catch_errors_ftype.
> 

FYI,

I've committed this change.  I've also updated the TODO file.  GDB
builds on IRIX 6.3 using the native compilers ``cc -32'' and ``cc
-n32''.

There are still plenty of warnings but nothing stopping the build.

	Andrew

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]