This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Virtual Machine and GDB


Hi,

On 8/21/06, Daniel Jacobowitz <drow@false.org> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]