Module Name: src Committed By: mrg Date: Sun Jul 3 15:26:06 UTC 2011
Modified Files: src/gnu/dist/gdb6/gdb: breakpoint.c Log Message: apply some (uintptr_t) between pointers, ints and other casts. To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 src/gnu/dist/gdb6/gdb/breakpoint.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/gnu/dist/gdb6/gdb/breakpoint.c diff -u src/gnu/dist/gdb6/gdb/breakpoint.c:1.1.1.2 src/gnu/dist/gdb6/gdb/breakpoint.c:1.2 --- src/gnu/dist/gdb6/gdb/breakpoint.c:1.1.1.2 Sun Jul 2 20:13:24 2006 +++ src/gnu/dist/gdb6/gdb/breakpoint.c Sun Jul 3 15:26:06 2011 @@ -1327,7 +1327,7 @@ (b->type == bp_catch_vfork) || (b->type == bp_catch_fork)) { - b->loc->address = (CORE_ADDR) NULL; + b->loc->address = (CORE_ADDR) (uintptr_t) NULL; continue; } @@ -1380,7 +1380,7 @@ unnecessary. A call to breakpoint_re_set_one always recomputes the breakpoint's address from scratch, or deletes it if it can't. So I think this assignment could be deleted without effect. */ - b->loc->address = (CORE_ADDR) NULL; + b->loc->address = (CORE_ADDR) (uintptr_t) NULL; } /* FIXME what about longjmp breakpoints? Re-create them here? */ create_overlay_event_breakpoint ("_ovly_debug_event");