aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-08-08 16:05:13 +0000
committerThiemo Seufer <ths@networkno.de>2006-08-08 16:05:13 +0000
commit6798554723617c1f63f3359e89aa96df72f9daf3 (patch)
treef1781636c121c5eb5575bd7b959b522c91c42edf /gdb/breakpoint.c
parent290fadea96dc9b5f6b3b657a16633ce3f6f48edd (diff)
downloadgdb-6798554723617c1f63f3359e89aa96df72f9daf3.zip
gdb-6798554723617c1f63f3359e89aa96df72f9daf3.tar.gz
gdb-6798554723617c1f63f3359e89aa96df72f9daf3.tar.bz2
* breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 98db140..dcf33e3 100644
--- a/gdb/breakpoint.c
+++ b/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) 0;
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) 0;
}
/* FIXME what about longjmp breakpoints? Re-create them here? */
create_overlay_event_breakpoint ("_ovly_debug_event");