This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Release symbol file
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gdb at sources dot redhat dot com
- Date: Wed, 06 Oct 2004 08:14:00 +0200
- Subject: Re: Release symbol file
- 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>
>>>>--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