X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Flocation.h;h=4ede1835fbd97406e8675632a904eede800640f8;hb=9fc3183f0f8ab8ec85f0e5f65bae9e18ddf545a0;hp=fcfa8fb56967c9d236c2d96c5440deab006022a5;hpb=a20714ff39f621961151d0c204e89062ab2107eb;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/location.h b/gdb/location.h index fcfa8fb569..4ede1835fb 100644 --- a/gdb/location.h +++ b/gdb/location.h @@ -1,5 +1,5 @@ /* Data structures and API for event locations in GDB. - Copyright (C) 2013-2017 Free Software Foundation, Inc. + Copyright (C) 2013-2018 Free Software Foundation, Inc. This file is part of GDB. @@ -220,11 +220,14 @@ extern event_location_up This function is intended to be used by CLI commands and will parse explicit locations in a CLI-centric way. Other interfaces should use string_to_event_location_basic if they want to maintain support for - legacy specifications of probe, address, and linespec locations. */ + legacy specifications of probe, address, and linespec locations. -extern event_location_up - string_to_event_location (const char **argp, - const struct language_defn *langauge); + MATCH_TYPE should be either WILD or FULL. If -q/--qualified is specified + in the input string, it will take precedence over this parameter. */ + +extern event_location_up string_to_event_location + (const char **argp, const struct language_defn *langauge, + symbol_name_match_type match_type = symbol_name_match_type::WILD); /* Like string_to_event_location, but does not attempt to parse explicit locations. MATCH_TYPE indicates how function names should