From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23168 invoked by alias); 21 Aug 2006 13:35:00 -0000 Received: (qmail 23160 invoked by uid 22791); 21 Aug 2006 13:34:59 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.174) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Aug 2006 13:34:53 +0000 Received: by ug-out-1314.google.com with SMTP id u2so1745528uge for ; Mon, 21 Aug 2006 06:34:51 -0700 (PDT) Received: by 10.67.24.13 with SMTP id b13mr3639719ugj; Mon, 21 Aug 2006 06:34:51 -0700 (PDT) Received: by 10.66.238.1 with HTTP; Mon, 21 Aug 2006 06:34:51 -0700 (PDT) Message-ID: Date: Mon, 21 Aug 2006 13:35:00 -0000 From: teawater To: "Cai Qian" Subject: Re: Virtual Machine and GDB Cc: gdb@sourceware.org In-Reply-To: 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> 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/msg00157.txt.bz2 Sorry, I told about ARCH because I think you were the people that ask the same question in CLF. He told that his VM has a new instruction set. So I think the ARCH of his VM is not support by GDB. If the ARCH of your VM is supported by GDB, you will not need to porting it. >>2) Can't find information on what kind of debug features I can have >>when after implementing the remote stub. Breakpoint, watchpoint, >>single step? http://sources.redhat.com/gdb/onlinedocs/gdb_33.html This doc is very clear. >>3) Not sure how to write a download program to download executable >>from target to host in a debug session. I think if your stub on VM support GDBRSP write memory command M, you can use GDB command load do it.