* breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
authorThiemo Seufer <ths@networkno.de>
Tue, 8 Aug 2006 16:05:13 +0000 (16:05 +0000)
committerThiemo Seufer <ths@networkno.de>
Tue, 8 Aug 2006 16:05:13 +0000 (16:05 +0000)
gdb/ChangeLog
gdb/breakpoint.c

index 4669e8aee4d6079b1dd7eb3536926ddcdadaa16f..5b829c2d95cd86a577020972afec1c2efab8f320 100644 (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.
index 98db1401589de413471674901b838c9dd55e5adc..dcf33e33104d4ee6cebb663272af29b46ea224f4 100644 (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");