Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gdb6/gdb apply some (uintptr_t) between pointers, i...
details: https://anonhg.NetBSD.org/src/rev/118d1d30ecf6
branches: trunk
changeset: 766878:118d1d30ecf6
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jul 03 15:26:06 2011 +0000
description:
apply some (uintptr_t) between pointers, ints and other casts.
diffstat:
gnu/dist/gdb6/gdb/breakpoint.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 285a05659197 -r 118d1d30ecf6 gnu/dist/gdb6/gdb/breakpoint.c
--- a/gnu/dist/gdb6/gdb/breakpoint.c Sun Jul 03 15:25:11 2011 +0000
+++ b/gnu/dist/gdb6/gdb/breakpoint.c Sun Jul 03 15:26:06 2011 +0000
@@ -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");
Home |
Main Index |
Thread Index |
Old Index