Make "break foo" find "A::foo", A::B::foo", etc. [C++ and wild matching]
[deliverable/binutils-gdb.git] / gdb / guile / scm-breakpoint.c
index ec75be589f0e004876b83aed7b4fedf57fd6fd30..f84815e739e1e08cec463c0560833facd2b664e4 100644 (file)
@@ -424,8 +424,10 @@ gdbscm_register_breakpoint_x (SCM self)
   pending_breakpoint_scm = self;
   location = bp_smob->spec.location;
   copy = skip_spaces (location);
-  event_location_up eloc = string_to_event_location_basic (&copy,
-                                                          current_language);
+  event_location_up eloc
+    = string_to_event_location_basic (&copy,
+                                     current_language,
+                                     symbol_name_match_type::WILD);
 
   TRY
     {
This page took 0.025125 seconds and 4 git commands to generate.