You missed part of the patch. :)<div><br></div><div><div>Index: lib/Makefile</div><div>===================================================================</div><div>--- lib/Makefile<span class="Apple-tab-span" style="white-space:pre"> </span>(revision 109327)</div>
<div>+++ lib/Makefile<span class="Apple-tab-span" style="white-space:pre"> </span>(working copy)</div><div>@@ -65,7 +65,7 @@</div><div> lldbPluginObjectFileMachO.a \</div><div> lldbPluginProcessGDBRemote.a \</div>
<div> lldbPluginUtility.a \</div><div>- lldbPluginSymbolVendorMaxOSX.a</div><div>+ lldbPluginSymbolVendorMacOSX.a</div><div> endif</div><div> </div><div> ifeq ($(HOST_OS),Linux)</div>
<div><br></div><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 11:12 PM, Stephen Wilson <span dir="ltr"><<a href="mailto:wilsons@start.ca">wilsons@start.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi William,<br>
<br>
Thanks so much for testing! Very much appreciated!<br>
<br>
Applied both patches as r109327.<br>
<br>
Take care,<br>
Steve<br>
<div><div></div><div class="h5"><br>
William Lynch <<a href="mailto:wlynch@wlynch.cx">wlynch@wlynch.cx</a>> writes:<br>
<br>
> The previous patch will allow lldb to finish building. However, on 10.5, I get<br>
> a linker error at startup time. It's missing source/Plugins/Process/MacOSX-User<br>
> in lldb.dylib. However, at least on my machine, that subdirectory needs some<br>
> work to properly compile.<br>
><br>
> Index: source/Plugins/Makefile<br>
> ===================================================================<br>
> --- source/Plugins/Makefile (revision 109318)<br>
> +++ source/Plugins/Makefile (working copy)<br>
> @@ -18,7 +18,8 @@<br>
> <br>
> ifeq ($(HOST_OS),Darwin)<br>
> DIRS += DynamicLoader/MacOSX-DYLD ObjectContainer/Universal-Mach-O \<br>
> - ObjectFile/Mach-O Process/gdb-remote Process/Utility SymbolVendor/MacOSX<br>
> + ObjectFile/Mach-O Process/gdb-remote Process/Utility SymbolVendor/MacOSX \<br>
> + Process/MacOSX-User<br>
> endif<br>
> <br>
> ifeq ($(HOST_OS),Linux)<br>
><br>
><br>
> On Fri, Jul 23, 2010 at 10:37 PM, William Lynch <<a href="mailto:wlynch@wlynch.cx">wlynch@wlynch.cx</a>> wrote:<br>
><br>
> A very small patch which should help building on Darwin:<br>
><br>
> Index: lib/Makefile<br>
> ===================================================================<br>
> --- lib/Makefile (revision 109318)<br>
> +++ lib/Makefile (working copy)<br>
> @@ -65,7 +65,7 @@<br>
> lldbPluginObjectFileMachO.a \<br>
> lldbPluginProcessGDBRemote.a \<br>
> lldbPluginUtility.a \<br>
> - lldbSymbolVendorMaxOSX.a<br>
> + lldbPluginSymbolVendorMacOSX.a<br>
> endif<br>
> <br>
> ifeq ($(HOST_OS),Linux)<br>
><br>
><br>
> On Fri, Jul 23, 2010 at 9:19 PM, Stephen Wilson <<a href="mailto:wilsons@start.ca">wilsons@start.ca</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> I just pushed the new linux process plugin. A few notes:<br>
><br>
> I updated the makefiles to build only under linux. I do not know if<br>
> this will build on a mac. Perhaps someone can try and let me know the<br>
> result.<br>
><br>
> Only very basic breakpoint/step-over functionality is present. For<br>
> example, we cannot resolve pending breakpoints yet, so one must set<br>
> breakpoints with the debugee stopped on entry.<br>
><br>
> Only x86_64 at the moment (will add i386 soon).<br>
><br>
> Here is a simple example of what is working for those who might like to<br>
> test it out:<br>
><br>
> ===<br>
> --------------------------------------------------------------------------<br>
> ===<br>
> > cat ctest.c<br>
><br>
> void foo() { return; }<br>
><br>
> void bar() { return; }<br>
><br>
> int main()<br>
> {<br>
> foo();<br>
> bar();<br>
> return 0;<br>
> }<br>
><br>
> > lldb ./ctest<br>
> Current executable set to './ctest' (x86_64).<br>
> (lldb) r -s<br>
> Launching '/home/steve/tmp/ctest' (x86_64)<br>
> (lldb) Process 0 Launching<br>
> Process 0 Stopped<br>
> * thread #1: tid = 0x4789, pc = 0x0000003206200af0, ...<br>
> (lldb) b s -n foo<br>
> Breakpoint created: 1: name = 'foo', locations = 1, resolved = 1<br>
> (lldb) b s -n bar<br>
> Breakpoint created: 2: name = 'bar', locations = 1, resolved = 1<br>
> (lldb) p c<br>
> Resuming process 0<br>
> (lldb) Process 0 Stopped<br>
> * thread #1: tid = 0x4789, pc = 0x0000000000400478, ...<br>
> 1<br>
> 2 -> void foo() { return; }<br>
> 3<br>
> 4 void bar() { return; }<br>
> 5<br>
> (lldb) p c<br>
> Resuming process 0<br>
> (lldb) Process 0 Stopped<br>
> * thread #1: tid = 0x4789, pc = 0x000000000040047e, ...<br>
> 1<br>
> 2 void foo() { return; }<br>
> 3<br>
> 4 -> void bar() { return; }<br>
> 5<br>
> 6 int main()<br>
> 7 {<br>
> (lldb) q<br>
> ===<br>
> --------------------------------------------------------------------------<br>
> ===<br>
><br>
><br>
> It's a start. Let be know of any issues, comments, advice, etc.<br>
><br>
> Thanks!<br>
> Steve<br>
> _______________________________________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
</div></div></blockquote></div><br></div>