* target.c (debug_to_insert_breakpoint): Instead of casting to unsigned
authorOzkan Sezer <sezero@sourceware.org>
Fri, 16 Jul 2010 20:04:41 +0000 (20:04 +0000)
committerOzkan Sezer <sezero@sourceware.org>
Fri, 16 Jul 2010 20:04:41 +0000 (20:04 +0000)
commitbd91e7ae05e3bee2640ab0be848a79bfcd081dcc
tree3ddd9a971e7fe897fb5128e40166b4bc1cf38515
parent29df156df4e7df351f9ba24641df74739d39c8e8
* 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/ChangeLog
gdb/target.c