From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26127 invoked by alias); 22 Sep 2004 15:16:14 -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 26117 invoked from network); 22 Sep 2004 15:16:13 -0000 Received: from unknown (HELO tisch.mail.mindspring.net) (207.69.200.157) by sourceware.org with SMTP; 22 Sep 2004 15:16:13 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by tisch.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1CA8qp-0006wv-00; Wed, 22 Sep 2004 11:16:11 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 2B7F04B102; Wed, 22 Sep 2004 11:16:08 -0400 (EDT) Date: Wed, 22 Sep 2004 15:16:00 -0000 From: Michael Chastain To: gdb@sources.redhat.com, Cenedese@indel.ch Subject: Re: Release symbol file Message-ID: <41519737.nailM2A11D1RE@mindspring.com> References: <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> In-Reply-To: <5.2.0.9.1.20040922162849.01d62158@NT_SERVER> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00184.txt.bz2 Fabian Cenedese wrote: > Thanks, but what about the MI? I can't give switches to e.g > -file-exec-and-symbol, can I? I mean, once gdb is started. Or > do I have to stop and restart gdb every time? --readnow is a global flag. It turns on the "read now" behavior on all future calls to symbol_file_add_with_addrs_or_offsets. [mec.gnu@berman gdb]$ gdb-621 --readnow GNU gdb 6.2.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". (gdb) file /berman/migchain/install/target/native/gdb-6.2.1/bin/gdb Reading symbols from /berman/migchain/install/target/native/gdb-6.2.1/bin/gdb...expanding to full symbols... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) 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". Try it. Michael