aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-04-24 13:20:16 +0000
committerYao Qi <yao@codesourcery.com>2012-04-24 13:20:16 +0000
commitc326b90eb92a34af3227efef385f50920dd75624 (patch)
tree856c8b0aebc5f45a4c4370ca55c5f22ce9b602d1 /gdb/breakpoint.c
parentdbaa2011452c7ce7ca612c6298964452dce179eb (diff)
downloadgdb-c326b90eb92a34af3227efef385f50920dd75624.zip
gdb-c326b90eb92a34af3227efef385f50920dd75624.tar.gz
gdb-c326b90eb92a34af3227efef385f50920dd75624.tar.bz2
gdb/
* breakpoint.c (ep_is_catchpoint): Renamed to ... (is_catchpoint): ... it. (print_one_breakpoint_location): Caller update. * breakpoint.h: Update declaration.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index be536bc..ceca221 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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");