to any frame, initialize watchpoint_frame using null_frame_id, not
a memset.
+2007-11-28 Jim Blandy <jimb@codesourcery.com>
+
+ * breakpoint.c (watch_command_1): When the watchpoint isn't local
+ to any frame, initialize watchpoint_frame using null_frame_id, not
+ a memset.
+
2007-11-28 Vladimir Prus <vladimir@codesourcery.com>
* infrun.c (resume): Set right thread even if
if (frame)
b->watchpoint_frame = get_frame_id (frame);
else
- memset (&b->watchpoint_frame, 0, sizeof (b->watchpoint_frame));
+ b->watchpoint_frame = null_frame_id;
if (scope_breakpoint != NULL)
{