From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15453 invoked by alias); 21 Aug 2006 00:24:07 -0000 Received: (qmail 15444 invoked by uid 22791); 21 Aug 2006 00:24:06 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.175) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Aug 2006 00:24:04 +0000 Received: by ug-out-1314.google.com with SMTP id u2so1578610uge for ; Sun, 20 Aug 2006 17:24:01 -0700 (PDT) Received: by 10.67.10.12 with SMTP id n12mr3232266ugi; Sun, 20 Aug 2006 17:24:01 -0700 (PDT) Received: by 10.67.101.17 with HTTP; Sun, 20 Aug 2006 17:24:01 -0700 (PDT) Message-ID: Date: Mon, 21 Aug 2006 00:24:00 -0000 From: "Cai Qian" To: gdb@sourceware.org Subject: Re: Virtual Machine and GDB In-Reply-To: <20060821000736.GA2596@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060821000736.GA2596@nevyn.them.org> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00143.txt.bz2 Hi, On 8/21/06, Daniel Jacobowitz wrote: > On Sun, Aug 20, 2006 at 10:10:45PM +0100, Cai Qian wrote: > > Hi, > > > > How can I communicate a virtual machine (like Java virtual machine) > > with the host, If I want to use GDB serial protocol? The target > > backend has been developed for the virtual machine, so simple C code > > can be complied and run. In addition, I have written a remote stub for > > the target. > > I'm sorry, I don't understand the question. What are you trying to do > that you don't know how to? Normally the stub and debugger would use > TCP to communicate, or a pipe. > I tried to use GDB to remote debug code run on virtual machine, but I don't know how to commnunicate target and host. Does it mean I need to insert some code to virtual machine, so it will wait a socket Then, GDB is going to connect this port? Qian > -- > Daniel Jacobowitz > CodeSourcery >