From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25307 invoked by alias); 26 Sep 2005 14:51:50 -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 25235 invoked by uid 22791); 26 Sep 2005 14:51:40 -0000 Received: from [220.225.32.98] (HELO calvin.codito.co.in) (220.225.32.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 26 Sep 2005 14:51:40 +0000 Received: from zirakzigil.codito.co.in (zirakzigil.codito.co.in [192.168.100.106]) by calvin.codito.co.in (8.13.2/8.13.2/Debian-1) with ESMTP id j8QEoip6019430; Mon, 26 Sep 2005 20:20:49 +0530 Subject: Re: How to access files (open/read/close) from gdb script ? From: Ramana Radhakrishnan Reply-To: ramana.radhakrishnan@codito.com To: David Lamy-Charrier Cc: gdb@sources.redhat.com In-Reply-To: <6541ed4c05092607445929e846@mail.gmail.com> References: <6541ed4c050926074274c08518@mail.gmail.com> <6541ed4c05092607445929e846@mail.gmail.com> Content-Type: text/plain Date: Mon, 26 Sep 2005 14:51:00 -0000 Message-Id: <1127746273.14120.60.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-09/txt/msg00191.txt.bz2 On Mon, 2005-09-26 at 16:44 +0200, David Lamy-Charrier wrote: > Hello, > > Does anyone of you know how to perform file operations > (open/read/close) from a GDB script ? Maybe you can integrate this with an expect / tcl script ? AFAIK gdb scripting does not allow such stuff. cheers Ramana