pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lldb-netbsd: Document how to debug lldb-server(1) with gdb(1)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Jan 20 12:07:21 2017 +0100
Changeset:	9d2fddfc221e76e1aeae0099c4bda9822d2247eb

Modified Files:
	lldb-netbsd/TODO

Log Message:
lldb-netbsd: Document how to debug lldb-server(1) with gdb(1)

Add notes in TODO.

Sponsored by <The NetBSD Foundation>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9d2fddfc221e76e1aeae0099c4bda9822d2247eb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lldb-netbsd/TODO | 10 ++++++++++
 1 file changed, 10 insertions(+)

diffs:
diff --git a/lldb-netbsd/TODO b/lldb-netbsd/TODO
index 555e8b4..6d7f62c 100644
--- a/lldb-netbsd/TODO
+++ b/lldb-netbsd/TODO
@@ -1,6 +1,16 @@
 Debugging to a file:
     log enable -STagnpstv -f /tmp/log.txt lldb all
 
+Debugging with gdb(1):
+    Start the server:
+        gdb --args lldb-server g *:1234 -- ./signal
+
+    Start the client:
+        lldb
+    Inside it:
+        process connect connect://localhost:1234
+
+
 Introduce objc++ setup with gcc(1) for "make test":
     Build Command Output:
     g++: error trying to exec 'cc1objplus': execvp: No such file or directory


Home | Main Index | Thread Index | Old Index