From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9438 invoked by alias); 26 Sep 2005 17:33: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 9384 invoked by uid 22791); 26 Sep 2005 17:33:08 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 26 Sep 2005 17:33:08 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EJwqd-0002Af-A0; Mon, 26 Sep 2005 13:33:03 -0400 Date: Mon, 26 Sep 2005 17:33:00 -0000 From: Daniel Jacobowitz To: Jim Ingham Cc: David Lamy-Charrier , gdb@sources.redhat.com Subject: Re: How to access files (open/read/close) from gdb script ? Message-ID: <20050926173303.GA8277@nevyn.them.org> Mail-Followup-To: Jim Ingham , 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00197.txt.bz2 On Mon, Sep 26, 2005 at 10:28:46AM -0700, Jim Ingham wrote: > I think DanielJ also has mentioned working on scripting bindings > using the MI in the past, but I don't know the state of this. That > is a little bit more work, but would allow you to run gdb under > another scripting language if you wanted. The current state is I'm hoping to piggyback on Nick's current interpreter work but haven't tried lately. -- Daniel Jacobowitz CodeSourcery, LLC