* [PATCH] Fix build failure for MIPS gdb
@ 2006-08-08 10:45 Thiemo Seufer
2006-08-08 13:08 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2006-08-08 10:45 UTC (permalink / raw)
To: gdb-patches
Hello All,
the appended patch fixes a type mismatch warning which is handled as
error (when using a recent gcc).
Thiemo
2006-08-08 Thiemo Seufer <ths@mips.com>
* breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.227
diff -u -p -r1.227 breakpoint.c
--- breakpoint.c 2 Jun 2006 03:43:18 -0000 1.227
+++ breakpoint.c 8 Aug 2006 10:16:54 -0000
@@ -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");
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-08 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-08 10:45 [PATCH] Fix build failure for MIPS gdb Thiemo Seufer
2006-08-08 13:08 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox