From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1417 invoked by alias); 17 Nov 2005 19:22:37 -0000 Received: (qmail 1390 invoked by uid 22791); 17 Nov 2005 19:22:34 -0000 Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 17 Nov 2005 19:22:34 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-21-94.inter.net.il [80.230.21.94]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CZR05028 (AUTH halo1); Thu, 17 Nov 2005 21:21:59 +0200 (IST) Date: Thu, 17 Nov 2005 19:33:00 -0000 Message-Id: From: Eli Zaretskii To: Andrew STUBBS CC: gdb-patches@sources.redhat.com In-reply-to: <437C68CF.3060805@st.com> (message from Andrew STUBBS on Thu, 17 Nov 2005 11:26:07 +0000) Subject: Re: [PATCH] keep-variable command Reply-to: Eli Zaretskii References: <437B44E1.8090008@st.com> <437C68CF.3060805@st.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00294.txt.bz2 > Date: Thu, 17 Nov 2005 11:26:07 +0000 > From: Andrew STUBBS > Cc: gdb-patches@sources.redhat.com > > Currently _all_ convenience variables are deleted when the symbol-file > command is used. The file command also uses symbol-file. I think this is a terrible misfeature that we need to fix ASAP, regardless of what we do with variables which depend on the symbol table. > Please give your example of a convenience variable with no relation to > the symbol table. Others gave such an example: (gdb) set $foo = 1