mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
2012-11-20 Pedro Alves <palves@redhat.com>
* annotate.c (breakpoints_changed): Rename to ... (annotate_breakpoints_changed): ... this. (annotate_stopped, breakpoint_changed): Adjust caller. * annotate.h (breakpoints_changed): Rename to ... (annotate_breakpoints_changed): ... this. * breakpoint.c (set_breakpoint_condition, breakpoint_set_commands) (do_map_commands_command, init_raw_breakpoint, clear_command) (set_ignore_count, enable_breakpoint_disp): Adjust callers.
This commit is contained in:
@ -983,7 +983,7 @@ set_breakpoint_condition (struct breakpoint *b, char *exp,
|
||||
}
|
||||
mark_breakpoint_modified (b);
|
||||
|
||||
breakpoints_changed ();
|
||||
annotate_breakpoints_changed ();
|
||||
observer_notify_breakpoint_modified (b);
|
||||
}
|
||||
|
||||
@ -1214,7 +1214,7 @@ breakpoint_set_commands (struct breakpoint *b,
|
||||
|
||||
decref_counted_command_line (&b->commands);
|
||||
b->commands = alloc_counted_command_line (commands);
|
||||
breakpoints_changed ();
|
||||
annotate_breakpoints_changed ();
|
||||
observer_notify_breakpoint_modified (b);
|
||||
}
|
||||
|
||||
@ -1331,7 +1331,7 @@ do_map_commands_command (struct breakpoint *b, void *data)
|
||||
incref_counted_command_line (info->cmd);
|
||||
decref_counted_command_line (&b->commands);
|
||||
b->commands = info->cmd;
|
||||
breakpoints_changed ();
|
||||
annotate_breakpoints_changed ();
|
||||
observer_notify_breakpoint_modified (b);
|
||||
}
|
||||
}
|
||||
@ -6996,7 +6996,7 @@ init_raw_breakpoint (struct breakpoint *b, struct gdbarch *gdbarch,
|
||||
if (bptype != bp_breakpoint && bptype != bp_hardware_breakpoint)
|
||||
b->pspace = sal.pspace;
|
||||
|
||||
breakpoints_changed ();
|
||||
annotate_breakpoints_changed ();
|
||||
}
|
||||
|
||||
/* set_raw_breakpoint is a low level routine for allocating and
|
||||
@ -11941,7 +11941,7 @@ clear_command (char *arg, int from_tty)
|
||||
else
|
||||
printf_unfiltered (_("Deleted breakpoints "));
|
||||
}
|
||||
breakpoints_changed ();
|
||||
annotate_breakpoints_changed ();
|
||||
|
||||
for (ix = 0; VEC_iterate(breakpoint_p, found, ix, b); ix++)
|
||||
{
|
||||
@ -14319,7 +14319,7 @@ set_ignore_count (int bptnum, int count, int from_tty)
|
||||
"crossings of breakpoint %d."),
|
||||
count, bptnum);
|
||||
}
|
||||
breakpoints_changed ();
|
||||
annotate_breakpoints_changed ();
|
||||
observer_notify_breakpoint_modified (b);
|
||||
return;
|
||||
}
|
||||
@ -14584,7 +14584,7 @@ enable_breakpoint_disp (struct breakpoint *bpt, enum bpdisp disposition,
|
||||
bpt->disposition = disposition;
|
||||
bpt->enable_count = count;
|
||||
update_global_location_list (1);
|
||||
breakpoints_changed ();
|
||||
annotate_breakpoints_changed ();
|
||||
|
||||
observer_notify_breakpoint_modified (bpt);
|
||||
}
|
||||
|
Reference in New Issue
Block a user