[rfc] Re: host_pointer_to_address() === (CORE_ADDR) (void*) (val)
Sun Jun 4 06:52:00 GMT 2000
Andrew Cagney wrote:
> Wed May 31 21:41:37 2000 Andrew Cagney <firstname.lastname@example.org>
> * 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.
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
There are still plenty of warnings but nothing stopping the build.
More information about the Gdb-patches