From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18530 invoked by alias); 26 Apr 2010 17:51:34 -0000 Received: (qmail 18365 invoked by uid 22791); 26 Apr 2010 17:51:29 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from aussmtpmrkps320.us.dell.com (HELO aussmtpmrkps320.us.dell.com) (143.166.224.254) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Apr 2010 17:51:23 +0000 X-Loopcount0: from 12.110.134.31 Received: from unknown (HELO M31.equallogic.com) ([12.110.134.31]) by aussmtpmrkps320.us.dell.com with SMTP; 26 Apr 2010 12:51:21 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: "set foo" Date: Mon, 26 Apr 2010 17:51:00 -0000 Message-ID: In-Reply-To: <83aasqyuo5.fsf@gnu.org> References: <8339yk1skw.fsf@gnu.org> <20100424212118.GW13204@adacore.com> <83y6gbzm4e.fsf@gnu.org> <20100425144347.GA2744@adacore.com> <83sk6jzhzv.fsf@gnu.org> <83aasqyuo5.fsf@gnu.org> From: "Paul Koning" To: "Eli Zaretskii" , Cc: , X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00147.txt.bz2 > > I looked at emacs/src/.gdbinit and it seems to me that the types and > > variables in question are global (in the sense of, not local to a > > function). So, they should be found without this trick. >=20 > So you are saying that global types and variables are always loaded by > GDB automatically, not lazily? I don't think it means that. The name should always be recognized; the definition for that name might be loaded lazily. That's how variable names are handled, right? Lazy loading is an optimization; it should be transparent to the user (apart from its performance benefits). paul