Minor change to breakpoint (lack of) support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-08 00:06:20 +00:00
parent e92e76446e
commit f2592ce201

View File

@ -489,7 +489,11 @@ void CLIDebugger::breakCommand(std::string &Options) {
throw "FIXME: breaking at the current location is not implemented yet!";
}
if (!File) File = CurrentFile;
if (File == 0)
throw "Unknown file to place breakpoint!";
std::cerr << "Break: " << File->getFilename() << ":" << LineNo << "\n";
throw "breakpoints not implemented yet!";
}