From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32289 invoked by alias); 19 Oct 2007 22:00:04 -0000 Received: (qmail 32221 invoked by uid 22791); 19 Oct 2007 22:00:02 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 19 Oct 2007 21:59:56 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 11362982CA; Fri, 19 Oct 2007 21:59:55 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id AB8AD980A7; Fri, 19 Oct 2007 21:59:54 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1Iizsn-0007H1-O9; Fri, 19 Oct 2007 17:59:53 -0400 Date: Fri, 19 Oct 2007 22:00:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Douglas Evans , Paul Hilfinger , gdb@sourceware.org Subject: Re: print/x on references Message-ID: <20071019215953.GA27922@caradoc.them.org> Mail-Followup-To: Jim Blandy , Douglas Evans , Paul Hilfinger , gdb@sourceware.org References: <20071018093736.8076A48CB9C@nile.gnat.com> <20071018111644.GA32574@caradoc.them.org> <20071018163012.GA19490@caradoc.them.org> <20071018171114.GA21738@caradoc.them.org> <20071018192103.GA31401@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-10/txt/msg00180.txt.bz2 On Fri, Oct 19, 2007 at 02:40:32PM -0700, Jim Blandy wrote: > For debugging C++, GDB implements a use of `&' beyond what is > allowed in the C++ language itself: you can use `&(&REF)' (or, if > you prefer, simply `&&REF') to examine the address where a C++ > reference variable (declared with `&REF') is stored. Good for us. Shame on us for having no test cases for it! I wonder if &&REF really works. -- Daniel Jacobowitz CodeSourcery