From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5411 invoked by alias); 27 Sep 2005 13:59:18 -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 5364 invoked by uid 22791); 27 Sep 2005 13:59:13 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 27 Sep 2005 13:59:13 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EKFzC-0000Xb-Pq; Tue, 27 Sep 2005 09:59:10 -0400 Date: Tue, 27 Sep 2005 13:59:00 -0000 From: Daniel Jacobowitz To: David Lamy-Charrier Cc: gdb@sources.redhat.com Subject: Re: How to access files (open/read/close) from gdb script ? Message-ID: <20050927135910.GA2064@nevyn.them.org> Mail-Followup-To: David Lamy-Charrier , gdb@sources.redhat.com References: <6541ed4c050926074274c08518@mail.gmail.com> <6541ed4c05092607445929e846@mail.gmail.com> <1127746273.14120.60.camel@localhost.localdomain> <6541ed4c05092608534877c12@mail.gmail.com> <20050926170314.GP772@adacore.com> <6541ed4c05092610342d7d63c1@mail.gmail.com> <20050926173638.GC8277@nevyn.them.org> <6541ed4c05092706575e8f1a37@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6541ed4c05092706575e8f1a37@mail.gmail.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00210.txt.bz2 On Tue, Sep 27, 2005 at 03:57:12PM +0200, David Lamy-Charrier wrote: > By the way, in a "debugguee" program, is there any way to know if the > program is currently running "in" GDB or if it is freely running > (without debuuger connected) ?? In general there shouldn't be. It's supposed to be transparent. -- Daniel Jacobowitz CodeSourcery, LLC