From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11862 invoked by alias); 6 Oct 2004 06:14:42 -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 11850 invoked from network); 6 Oct 2004 06:14:41 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 6 Oct 2004 06:14:41 -0000 Received: from indel.ch (217-162-27-127.dclient.hispeed.ch [217.162.27.127]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with SMTP id i966EdGW008736 for ; Wed, 6 Oct 2004 08:14:39 +0200 Received: from fabi.indel.ch [192.168.1.19] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Wed, 06 Oct 2004 08:13:05 +0200 Message-Id: <5.2.0.9.1.20041006081155.01cfa8d8@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Wed, 06 Oct 2004 06:53:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Re: Release symbol file In-Reply-To: <4162EE22.8070001@gnu.org> References: <5.2.0.9.1.20040923082603.01d0d4a8@NT_SERVER> <5.2.0.9.1.20040922162849.01d62158@NT_SERVER> <5.2.0.9.1.20040922130725.01d68fe0@NT_SERVER> <5.2.0.9.1.20040922130725.01d68fe0@NT_SERVER> <5.2.0.9.1.20040922162849.01d62158@NT_SERVER> <5.2.0.9.1.20040923082603.01d0d4a8@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sources.redhat.com X-Return-Path: cenedese@indel.ch X-SW-Source: 2004-10/txt/msg00111.txt.bz2 >>>>--readnow is a global flag. It turns on the "read now" behavior >>>>on all future calls to symbol_file_add_with_addrs_or_offsets. >>>> >>>>gdb does keep file descriptors open for the target program, >>>>but it ought to have all the symbols in memory after >>>>"expanding to full symbols". >> >>I'm not concerned about the symbols but about the file access. >>Even when started with "gdb --readnow -i mi" and load a file >>I can't delete that file anymore. As I want to recreate it without >>unloading from gdb I guess I need to make a copy then. > >How recent is your GDB? Jerome Guitton (2004-08-10) modified GDB so that it would always close these object files. I have (or had) a gdb-6.1.1. But as this has problems with PPC I need to try a newer version anyway. I guess I have 2 reasons now :) Thanks bye Fabi