[PATCH] [7.2] Merge recent win64 breakage fixes from HEAD to 7.2 branch

Ozkan Sezer sezeroz@gmail.com
Wed Jul 21 09:53:00 GMT 2010


Hi!

If there are no objections, I want to apply the attached patch to
the 7.2 branch soon.

-
Merge recent win64 breakage fixes from HEAD to 7.2 branch:

gdb/

	* target.c (debug_to_insert_breakpoint): Instead of casting to unsigned
	long and %ld, use core_addr_to_string() and %s to print CORE_ADDR vars
	and host_address_to_string() and %s for pointers.
	(debug_to_remove_breakpoint): Likewise.
	(debug_to_region_ok_for_hw_watchpoint): Likewise.
	(debug_to_can_accel_watchpoint_condition): Likewise.
	(debug_to_stopped_data_address): Likewise.
	(debug_to_watchpoint_addr_within_range): Likewise.
	(debug_to_insert_hw_breakpoint): Likewise.
	(debug_to_remove_hw_breakpoint): Likewise.
	(debug_to_insert_watchpoint): Likewise.
	(debug_to_remove_watchpoint): Likewise.

gdb/gdbserver/

	* server.c (handle_query): strcpy() the returned string from paddress()
	instead of sprintf().
	* utils.c (paddress): Return phex_nz().

--
Ozkan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 72.diff
Type: application/octet-stream
Size: 8586 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100721/629cf3c0/attachment.obj>


More information about the Gdb-patches mailing list