/* Data structures and API for event locations in GDB.
- Copyright (C) 2013-2017 Free Software Foundation, Inc.
+ Copyright (C) 2013-2020 Free Software Foundation, Inc.
This file is part of GDB.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef LOCATIONS_H
-#define LOCATIONS_H 1
+#ifndef LOCATION_H
+#define LOCATION_H
+
+#include "symtab.h"
struct language_defn;
struct event_location;
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,
+ (const char **argp, const struct language_defn *language,
symbol_name_match_type match_type = symbol_name_match_type::WILD);
/* Like string_to_event_location, but does not attempt to parse
extern void
set_event_location_string (struct event_location *location,
const char *string);
-#endif /* LOCATIONS_H */
+
+#endif /* LOCATION_H */