From: "Lawrence Lee (Shanghai)" <LawrenceLee@viatech.com.cn>
To: gdb <gdb@sources.redhat.com>
Subject: FW: The question about the relation between gdb and the programme debugged
Date: Mon, 10 Jun 2002 18:30:00 -0000 [thread overview]
Message-ID: <C373923C3B6ED611874200010250D52E0CA706@exchsh01.viatech.com.cn> (raw)
-----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
next reply other threads:[~2002-06-11 1:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-10 18:30 Lawrence Lee (Shanghai) [this message]
2002-06-11 9:25 ` Kevin Buettner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C373923C3B6ED611874200010250D52E0CA706@exchsh01.viatech.com.cn \
--to=lawrencelee@viatech.com.cn \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox