Provide a gdb usage fix provided by Zhongzing Xu.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 28 Sep 2006 16:53:47 +0000 (16:53 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 28 Sep 2006 16:53:47 +0000 (16:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30645 91177308-0d34-0410-b5e6-96231b3b80d8

docs/WritingAnLLVMPass.html

index d30960d39f09ea9edfe6dd951694273e1c85c349..b33edb0eb6899a0c221144582e778b8d092eaa9c 100644 (file)
@@ -1593,7 +1593,7 @@ object.  The most foolproof way of doing this is to set a breakpoint in
 want:</p>
 
 <div class="doc_code"><pre>
-(gdb) <b>break PassManager::run</b>
+(gdb) <b>break llvm::PassManager::run</b>
 Breakpoint 1 at 0x2413bc: file Pass.cpp, line 70.
 (gdb) <b>run test.bc -load $(LLVMTOP)/llvm/Debug/lib/[libname].so -[passoption]</b>
 Starting program: opt test.bc -load $(LLVMTOP)/llvm/Debug/lib/[libname].so -[passoption]