From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29065 invoked by alias); 23 Oct 2012 19:01:45 -0000 Received: (qmail 29047 invoked by uid 22791); 23 Oct 2012 19:01:44 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Oct 2012 19:01:38 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9NJ1ZJh009061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Oct 2012 15:01:35 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q9NJ1YVV017104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 23 Oct 2012 15:01:34 -0400 From: Tom Tromey To: Luc Des Trois Maisons Cc: gdb@sourceware.org Subject: Re: Problems getting symbol information using a convenience register, References: Date: Tue, 23 Oct 2012 19:01:00 -0000 In-Reply-To: (Luc Des Trois Maisons's message of "Wed, 17 Oct 2012 17:41:54 -0400") Message-ID: <871ugpf1wx.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2012-10/txt/msg00094.txt.bz2 >>>>> "Luc" == Luc Des Trois Maisons writes: Luc> However, I'm having a problem when I try to use the convenience Luc> register with the 'info symbols' command. I poked around and I Luc> found that the convenience register works when set directly with a Luc> value, but breaks when set using a pointer dereference. I don't have a ready explanation for the problem. If you have a self-contained test case, file it in bugzilla. Otherwise, I guess you could step through sym_info and see what goes wrong. Tom