From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21259 invoked by alias); 11 Jun 2002 01:30:39 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21252 invoked from network); 11 Jun 2002 01:30:33 -0000 Received: from unknown (HELO exchsh01.viatech.com.cn) (152.104.237.33) by sources.redhat.com with SMTP; 11 Jun 2002 01:30:33 -0000 Received: by exchsh01.viatech.com.cn with Internet Mail Service (5.5.2650.21) id ; Tue, 11 Jun 2002 09:33:52 +0800 Message-ID: From: "Lawrence Lee (Shanghai)" To: gdb Subject: FW: The question about the relation between gdb and the programme debugged Date: Mon, 10 Jun 2002 18:30:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="GB2312" X-SW-Source: 2002-06/txt/msg00087.txt.bz2 -----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