This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: The question about the relation between gdb and the programme deb ugged
- From: Kevin Buettner <kevinb at redhat dot com>
- To: "Lawrence Lee (Shanghai)" <LawrenceLee at viatech dot com dot cn>, "'gdb at sources dot redhat dot com'" <gdb at sources dot redhat dot com>
- Date: Mon, 10 Jun 2002 14:50:03 -0700
- Subject: Re: The question about the relation between gdb and the programme deb ugged
- References: <C373923C3B6ED611874200010250D52E0CA703@exchsh01.viatech.com.cn>
On Jun 10, 10:11am, Lawrence Lee (Shanghai) wrote:
> I want to know the relation between the gdb and the object programme being
> debugged. Does the gdb load the object programme into gdb's memory spaces
> so that gdb can access the varible of the programme? Or the gdb and the
> object programme are different processes which have different memory
> spaces?
The latter; gdb and the program being debugged are separate processes.
Kevin