From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23442 invoked by alias); 21 Apr 2009 00:06:12 -0000 Received: (qmail 23432 invoked by uid 22791); 21 Apr 2009 00:06:11 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_SUB_PCT_LETTER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Apr 2009 00:06:06 +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 n3L05oHr006073; Mon, 20 Apr 2009 20:05:53 -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 n3L05mLM014270; Mon, 20 Apr 2009 20:05:48 -0400 Received: from opsy.redhat.com (vpn-13-111.rdu.redhat.com [10.11.13.111]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n3L05lgp023981; Mon, 20 Apr 2009 20:05:48 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 18A1737829A; Mon, 20 Apr 2009 18:05:47 -0600 (MDT) To: "Pierre Muller" Cc: Subject: Re: [RFA] ARI fix: remove 6 last %p occurences References: <003601c9c078$44881fb0$cd985f10$@u-strasbg.fr> From: Tom Tromey Reply-To: tromey@redhat.com Date: Tue, 21 Apr 2009 00:06:00 -0000 In-Reply-To: <003601c9c078$44881fb0$cd985f10$@u-strasbg.fr> (Pierre Muller's message of "Sun\, 19 Apr 2009 00\:51\:52 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (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: 2009-04/txt/msg00550.txt.bz2 >>>>> "Pierre" == Pierre Muller writes: Pierre> The two last changes in symmisc.c were postponed Pierre> in my first patch because I had a question: [...] >> I don't know the rules for C, >> is an addition of a pointer and a integer always of type pointer? Pierre> But nobody answered :( Sorry about that. Yes, in C, the addition of a pointer and an integer always has pointer type. Pierre> Is this OK? Yes, thanks. Pierre> + host_address_to_string ( Pierre> + psymtab->objfile->global_psymbols.list The formatting here looks a bit weird. There aren't many good choices, but usually I just choose to let the line wrap rather than splitting after the "(". Tom