This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
FW: The question about the relation between gdb and the programme debugged
- From: "Lawrence Lee (Shanghai)" <LawrenceLee at viatech dot com dot cn>
- To: gdb <gdb at sources dot redhat dot com>
- Date: Tue, 11 Jun 2002 09:33:48 +0800
- Subject: FW: The question about the relation between gdb and the programme debugged
-----Original Message-----
From: Lawrence Lee (Shanghai)
Sent: Tuesday, June 11, 2002 9:31 AM
To: 'Kevin Buettner'
Cc: gdb
Subject: RE: The question about the relation between gdb and the
programme debugged
Thanks!
But how does the gdb process access the memory spaces in the program being
debugged?
If the object program uses ioperm and iopl to get the permission to
read(write) IO port, can the gdb access the IO port also?
Thanks.
-----Original Message-----
From: Kevin Buettner [mailto:kevinb@redhat.com]
Sent: Tuesday, June 11, 2002 5:50 AM
To: Lawrence Lee (Shanghai); 'gdb@sources.redhat.com'
Subject: Re: The question about the relation between gdb and the
programme deb ugged
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