return true;
}
-bool ParseBreakpoint(const std::vector<std::string> &args, std::string &filename, unsigned int &linenum)
+bool ParseBreakpoint(const std::vector<std::string> &args_orig, std::string &filename, unsigned int &linenum)
{
+ std::vector<std::string> args = args_orig;
+ StripArgs(args);
+
if (args.empty())
return false;
+ if (args.at(0) == "-f")
+ {
+ args.erase(args.begin());
+ if (args.empty())
+ return false;
+ }
+
std::size_t i = args.at(0).rfind(':');
if (i == std::string::npos)