From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1362 invoked by alias); 1 Sep 2008 07:19:41 -0000 Received: (qmail 1350 invoked by uid 22791); 1 Sep 2008 07:19:40 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 01 Sep 2008 07:19:05 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m817GZ4p001344; Mon, 1 Sep 2008 03:17:00 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m817GOSB005452; Mon, 1 Sep 2008 03:16:24 -0400 Received: from opsy.redhat.com (vpn-10-20.bos.redhat.com [10.16.10.20]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m817GNda005438; Mon, 1 Sep 2008 03:16:23 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 3650437827C; Mon, 1 Sep 2008 01:16:36 -0600 (MDT) To: uweigand@de.ibm.com Cc: gdb-patches@sourceware.org Subject: Re: [rfc][15/37] Eliminate builtin_type_ macros: Dereferencing of integer types References: <20080831175045.128504000@de.ibm.com> <20080831175126.215914000@de.ibm.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Mon, 01 Sep 2008 07:19:00 -0000 In-Reply-To: <20080831175126.215914000@de.ibm.com> (uweigand@de.ibm.com's message of "Sun\, 31 Aug 2008 19\:51\:00 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00002.txt.bz2 >>>>> "Ulrich" == Ulrich Weigand writes: Ulrich> GDB allows to dereference an integer type, treating it as if Ulrich> it were an "int *". Ulrich> It might make sense to check for which languages this extension Ulrich> is actually useful, and remove it from the rest. Ulrich> * jv-lang.c (evaluate_subexp_java): Likewise. FWIW -- I couldn't come up with a situation where this extension makes sense for Java. I'm certain I have never used it while debugging Java code. Tom