<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 25, 2011, at 9:34 AM, Ankit Sethia wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font color="#000000"><font face="verdana,sans-serif">Hi All,<br clear="all"></font></font><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">I changed the CFG of a big function using a pass that runs on a function, I am having trouble debugging it. Is there someway to dump a module to a file from inside gdb? I have access to the Module pointer. Let me know if anything else is needed.<br></font></div></blockquote><br></div><div>(gdb) module->dump()</div><div><br></div><div>-</div><div>Devang</div><br></body></html>