From owner-freebsd-questions@freebsd.org Sun May 12 03:36:27 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 715AE158B186 for ; Sun, 12 May 2019 03:36:27 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from insect.birch.relay.mailchannels.net (insect.birch.relay.mailchannels.net [23.83.209.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BADC865B8 for ; Sun, 12 May 2019 03:36:24 +0000 (UTC) (envelope-from mail@ozzmosis.com) X-Sender-Id: dreamhost|x-authsender|relay@ozzmosis.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2FB743E570D; Sun, 12 May 2019 03:29:50 +0000 (UTC) Received: from pdx1-sub0-mail-a6.g.dreamhost.com (unknown [100.96.16.23]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DA28E3E5722; Sun, 12 May 2019 03:29:49 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|relay@ozzmosis.com Received: from pdx1-sub0-mail-a6.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sun, 12 May 2019 03:29:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|relay@ozzmosis.com X-MailChannels-Auth-Id: dreamhost X-Unite-Callous: 1722288752a80a0f_1557631789997_614446737 X-MC-Loop-Signature: 1557631789997:2931609661 X-MC-Ingress-Time: 1557631789997 Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id 93CD78228F; Sat, 11 May 2019 20:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=ozzmosis.com; bh=2893iAN+zbRBSe3/nXrvhv/52hc=; b= ETWn7G8OtYk4YRKPf+yeOPhPIsikk6BUNBVbutIhS729bjc3eabZrf2XAjbLWiEy aLNPhBEk6P1qlkbxgRORKHdsysyrsDoK4fiqkSOCYj4of66TEXY8jIt7bFMJjDg8 l4dlnqhY89eJvwvnLryAH4IGHo2KVYyDl5siPjfIskI= Received: from blizzard.ozzmosis.com (167-179-139-56.a7b38b.mel.nbn.aussiebb.net [167.179.139.56]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 14E9382272; Sat, 11 May 2019 20:29:48 -0700 (PDT) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id C4B156BCE; Sun, 12 May 2019 13:29:45 +1000 (AEST) Date: Sun, 12 May 2019 13:29:45 +1000 X-DH-BACKEND: pdx1-sub0-mail-a6 From: andrew clarke To: Simon Connah Cc: freebsd-questions@freebsd.org Subject: Re: Remote debugging of FreeBSD system from Linux? Message-ID: <20190512032945.zncfv5kkp7k4n3am@ozzmosis.com> References: <1f23fe09-b421-f43a-b1b6-095998ee19e9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1f23fe09-b421-f43a-b1b6-095998ee19e9@gmail.com> User-Agent: NeoMutt/20180716 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrledugdejudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjfgesthdtredttdervdenucfhrhhomheprghnughrvgifucgtlhgrrhhkvgcuoehmrghilhesohiiiihmohhsihhsrdgtohhmqeenucfkphepudeijedrudejledrudefledrheeinecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopegslhhiiiiirghrugdrohiiiihmohhsihhsrdgtohhmpdhinhgvthepudeijedrudejledrudefledrheeipdhrvghtuhhrnhdqphgrthhhpegrnhgurhgvficutghlrghrkhgvuceomhgrihhlsehoiiiimhhoshhishdrtghomheqpdhmrghilhhfrhhomhepmhgrihhlsehoiiiimhhoshhishdrtghomhdpnhhrtghpthhtohepshgtohhpvghnshhouhhrtggvsehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-Rspamd-Queue-Id: 1BADC865B8 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ozzmosis.com header.s=ozzmosis.com header.b=ETWn7G8O; spf=pass (mx1.freebsd.org: domain of mail@ozzmosis.com designates 23.83.209.93 as permitted sender) smtp.mailfrom=mail@ozzmosis.com X-Spamd-Result: default: False [-0.45 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[ozzmosis.com:s=ozzmosis.com]; NEURAL_HAM_MEDIUM(-0.65)[-0.649,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:23.83.208.1/20]; NEURAL_HAM_LONG(-0.91)[-0.911,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[ozzmosis.com]; NEURAL_SPAM_SHORT(0.52)[0.523,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ozzmosis.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[93.209.83.23.list.dnswl.org : 127.0.3.0]; MX_GOOD(-0.01)[mx2.dreamhost.com,mx1.dreamhost.com]; IP_SCORE(0.10)[ipnet: 23.83.208.0/21(0.31), asn: 36483(0.25), country: CA(-0.09)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36483, ipnet:23.83.208.0/21, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_SEVEN(0.00)[7] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2019 03:36:27 -0000 On Thu 2019-05-09 13:43:25 UTC+0100, Simon Connah (scopensource@gmail.com) wrote: > I'd like to try and contribute to FreeBSD if I am able to but since I only > have one computer I have to use virtual machines to run all of my > development work loads. I was wondering if it was possible to run a FreeBSD > virtual machine and then run a Linux virtual machine to do remote debugging > of the FreeBSD virtual machine? > > If that is not possible can I do the same thing with another remote FreeBSD > virtual machine for remote debugging? > > For the record I use VMWare Workstation 15 Pro running on Windows 10 Pro to > run my virtual machines. Can you clarify what you want to debug? Remote debugging in its simplest form would be SSHing to the FreeBSD box and running lldb or gdb, which is fairly trivial to do from Windows (or any modern OS).