Make "break foo" find "A::foo", A::B::foo", etc. [C++ and wild matching]
[deliverable/binutils-gdb.git] / gdb / mi / mi-cmd-break.c
index 833bdc09ca9017d2c5ae66236a293f181f318852..6cb1d710fde643d5b2650cc14ff6734016032737 100644 (file)
@@ -337,7 +337,8 @@ mi_cmd_break_insert_1 (int dprintf, const char *command, char **argv, int argc)
     }
   else
     {
-      location = string_to_event_location_basic (&address, current_language);
+      location = string_to_event_location_basic (&address, current_language,
+                                                symbol_name_match_type::WILD);
       if (*address)
        error (_("Garbage '%s' at end of location"), address);
     }
This page took 0.025993 seconds and 4 git commands to generate.