From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6853 invoked by alias); 5 Dec 2006 20:56:52 -0000 Received: (qmail 6840 invoked by uid 22791); 5 Dec 2006 20:56:51 -0000 X-Spam-Check-By: sourceware.org Received: from smtp109.sbc.mail.mud.yahoo.com (HELO smtp109.sbc.mail.mud.yahoo.com) (68.142.198.208) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 05 Dec 2006 20:56:42 +0000 Received: (qmail 93988 invoked from network); 5 Dec 2006 20:56:40 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@71.146.122.56 with login) by smtp109.sbc.mail.mud.yahoo.com with SMTP; 5 Dec 2006 20:56:39 -0000 X-YMail-OSG: 0pUJYOUVM1kh.jl1oafAot2QmaN3X1gIODyTSSGlB5QWSUIq.OcHYzKGIpR_lbHa1cHG2fEmazvDwJ9SzI69shBQJAMyN0u2JwRynLSJ1bOgWczoaYT. Received: by lucon.org (Postfix, from userid 500) id 97B7146EEEB; Tue, 5 Dec 2006 12:56:38 -0800 (PST) Date: Tue, 05 Dec 2006 20:56:00 -0000 From: "H. J. Lu" To: GDB Subject: Re: PATCH: Initialize tmp_obstack Message-ID: <20061205205638.GA30432@lucon.org> References: <20061202182712.GA623@lucon.org> <20061205204003.GB25572@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061205204003.GB25572@nevyn.them.org> User-Agent: Mutt/1.4.2.2i 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: 2006-12/txt/msg00037.txt.bz2 On Tue, Dec 05, 2006 at 03:40:03PM -0500, Daniel Jacobowitz wrote: > On Sat, Dec 02, 2006 at 10:27:12AM -0800, H. J. Lu wrote: > > Gcc 4.1 warns > > Mine doesn't, but I never did figure out why some compilers do and > others don't. > > > 2006-12-02 H.J. Lu > > > > * cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack. > > (cp_print_value): Likewise > > * p-valprint.c (pascal_object_print_value_fields): Likewise > > (pascal_object_print_value): Likewise > > OK to commit - let's use this version. Thanks. I think it's fine for > the 4.2 branch too. I assume that you meant gdb 6.5 branch. H.J.