* breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.

This commit is contained in:
Thiemo Seufer 2006-08-08 16:05:13 +00:00
parent 290fadea96
commit 6798554723
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2006-08-08 Thiemo Seufer <ths@mips.com>
* breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
2006-08-08 Vladimir Prus <vladimir@codesourcery.com>
* symfile.c (download_write_size): Remove.

View File

@ -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");