This is the mail archive of the gdb-patches@sourceware.org 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] |
Other format: | [Raw text] |
Hello, Continuing on my series of patches to port GDB to x86_64 Windows (Vista), here is a patch that fixes some compilation errors inside target.c which are due to casting pointers to long... As suggested, I modified my original patch to use intptr_t instead of my very-own home-made ptr_int_t. 2009-01-09 Joel Brobecker <brobecker@adacore.com> * target.c (target_xfer_partial): Use host_address_to_string to print the address of readbuf and writebuf. Cast the address of elements inside the myaddr buffer into intptr_t. (deprecated_debug_xfer_memory): Use paddress to print memaddr. Cast the address of elements inside the myaddr buffer into intptr_t. Tested on x86-linux. I will commit tomorrow, since Mark already reviewed this code and suggested the use of the intptr_t type. -- Joel
Attachment:
cast.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |