From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8434 invoked by alias); 26 Sep 2005 15:53:51 -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 8353 invoked by uid 22791); 26 Sep 2005 15:53:41 -0000 Received: from nproxy.gmail.com (HELO nproxy.gmail.com) (64.233.182.194) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 26 Sep 2005 15:53:41 +0000 Received: by nproxy.gmail.com with SMTP id l37so323861nfc for ; Mon, 26 Sep 2005 08:53:29 -0700 (PDT) Received: by 10.48.237.3 with SMTP id k3mr440842nfh; Mon, 26 Sep 2005 08:53:29 -0700 (PDT) Received: by 10.48.157.14 with HTTP; Mon, 26 Sep 2005 08:53:28 -0700 (PDT) Message-ID: <6541ed4c05092608534877c12@mail.gmail.com> Date: Mon, 26 Sep 2005 15:53:00 -0000 From: David Lamy-Charrier Reply-To: David Lamy-Charrier To: gdb@sources.redhat.com Subject: Re: How to access files (open/read/close) from gdb script ? In-Reply-To: <1127746273.14120.60.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6541ed4c050926074274c08518@mail.gmail.com> <6541ed4c05092607445929e846@mail.gmail.com> <1127746273.14120.60.camel@localhost.localdomain> X-SW-Source: 2005-09/txt/msg00192.txt.bz2 > Maybe you can integrate this with an expect / tcl script ? AFAIK gdb > scripting > does not allow such stuff. I am not sure to understand correclty: you mean that I can write a tcl script to do that, but how can I then launch the tcl script ? Thanks, David