From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9467 invoked by alias); 21 Aug 2006 00:07:42 -0000 Received: (qmail 9459 invoked by uid 22791); 21 Aug 2006 00:07:41 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 21 Aug 2006 00:07:38 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GExKK-0000gV-8s; Sun, 20 Aug 2006 20:07:36 -0400 Date: Mon, 21 Aug 2006 00:07:00 -0000 From: Daniel Jacobowitz To: Cai Qian Cc: gdb@sourceware.org Subject: Re: Virtual Machine and GDB Message-ID: <20060821000736.GA2596@nevyn.them.org> Mail-Followup-To: Cai Qian , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes 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/msg00142.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery