diff src/pt-bp.cc @ 4342:813effe14ee1

[project @ 2003-02-20 08:35:55 by jwe]
author jwe
date Thu, 20 Feb 2003 08:35:55 +0000
parents f7660e7d9b80
children 12b6fbd57436
line wrap: on
line diff
--- a/src/pt-bp.cc	Thu Feb 20 04:49:55 2003 +0000
+++ b/src/pt-bp.cc	Thu Feb 20 08:35:55 2003 +0000
@@ -442,6 +442,16 @@
 }
 
 void 
+tree_breakpoint::visit_fcn_handle (tree_fcn_handle& fh)
+{
+  if (found)
+    return;
+
+  if (fh.line () >= line)
+    take_action (fh);
+}
+
+void 
 tree_breakpoint::visit_parameter_list (tree_parameter_list& lst)
 {
   if (found)