projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e92e764
)
Minor change to breakpoint (lack of) support
author
Chris Lattner
<sabre@nondot.org>
Sun, 8 Feb 2004 00:06:20 +0000
(
00:06
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 8 Feb 2004 00:06:20 +0000
(
00:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11169
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-db/Commands.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-db/Commands.cpp
b/tools/llvm-db/Commands.cpp
index 577e6b9848b8e0c1023c4dd71a14a92134e0df5e..56dbd53526c32f0366e1ab5747bc9e5d7a086065 100644
(file)
--- a/
tools/llvm-db/Commands.cpp
+++ b/
tools/llvm-db/Commands.cpp
@@
-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!";
}