/* Generic static probe support for GDB.
- Copyright (C) 2012-2019 Free Software Foundation, Inc.
+ Copyright (C) 2012-2020 Free Software Foundation, Inc.
This file is part of GDB.
}
else
{
- struct program_space *pspace;
-
- ALL_PSPACES (pspace)
+ for (struct program_space *pspace : program_spaces)
parse_probes_in_pspace (spops, pspace, objfile_namestr,
provider, name, &result);
}
std::vector<const static_probe_ops *> all_static_probe_ops;
+void _initialize_probe ();
void
-_initialize_probe (void)
+_initialize_probe ()
{
all_static_probe_ops.push_back (&any_static_probe_ops);