summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2011-07-03 15:26:06 +0000
committermrg <mrg@NetBSD.org>2011-07-03 15:26:06 +0000
commit0ffc4c718d1c7ef97aa0b3ecbf94e606290155ec (patch)
tree74d4a08fa73ce546035b27b204a21829340f0e6e /gnu
parent5455a3c767b2d944c5a90c49c8c162bf2f69dc67 (diff)
apply some (uintptr_t) between pointers, ints and other casts.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/gdb6/gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/dist/gdb6/gdb/breakpoint.c b/gnu/dist/gdb6/gdb/breakpoint.c
index fd231dee498..49fcb4e0e1f 100644
--- a/gnu/dist/gdb6/gdb/breakpoint.c
+++ b/gnu/dist/gdb6/gdb/breakpoint.c
@@ -1327,7 +1327,7 @@ update_breakpoints_after_exec (void)
(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 @@ update_breakpoints_after_exec (void)
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");