* breakpoint.c (ep_is_catchpoint): Renamed to ...
	(is_catchpoint): ... it.
	(print_one_breakpoint_location): Caller update.
	* breakpoint.h: Update declaration.
This commit is contained in:
Yao Qi
2012-04-24 13:20:16 +00:00
parent dbaa201145
commit c326b90eb9
3 changed files with 10 additions and 3 deletions

View File

@@ -3635,7 +3635,7 @@ breakpoint_thread_match (struct address_space *aspace, CORE_ADDR pc,
in breakpoint.h. */
int
ep_is_catchpoint (struct breakpoint *ep)
is_catchpoint (struct breakpoint *ep)
{
return (ep->type == bp_catchpoint);
}
@@ -5600,7 +5600,7 @@ print_one_breakpoint_location (struct breakpoint *b,
if (!part_of_multiple && b->hit_count)
{
/* FIXME should make an annotation for this. */
if (ep_is_catchpoint (b))
if (is_catchpoint (b))
ui_out_text (uiout, "\tcatchpoint");
else if (is_tracepoint (b))
ui_out_text (uiout, "\ttracepoint");