From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25420 invoked by alias); 4 Jan 2007 07:21:27 -0000 Received: (qmail 25410 invoked by uid 22791); 4 Jan 2007 07:21:25 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 04 Jan 2007 07:21:20 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 44C3C48CE3D for ; Thu, 4 Jan 2007 02:21:18 -0500 (EST) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13532-01-3 for ; Thu, 4 Jan 2007 02:21:18 -0500 (EST) Received: from takamaka.act-europe.fr (AStDenis-105-1-84-180.w80-8.abo.wanadoo.fr [80.8.199.180]) by nile.gnat.com (Postfix) with ESMTP id 6529C48CBE2 for ; Thu, 4 Jan 2007 02:21:17 -0500 (EST) Received: by takamaka.act-europe.fr (Postfix, from userid 1000) id 6362534C099; Thu, 4 Jan 2007 11:22:05 +0400 (RET) Date: Thu, 04 Jan 2007 07:21:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [commit] fix syntax errors in hpread.c Message-ID: <20070104072205.GS3434@adacore.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="FEz7ebHBGB6b2e8X" Content-Disposition: inline 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: 2007-01/txt/msg00107.txt.bz2 --FEz7ebHBGB6b2e8X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 552 Hello, The gods of automated nightly builds whispered to me in my sleep that hpread.c failed to build last night. There are indeed a couple of syntax errors that slipped through the the last commit. Fixed thusly. I can't test this myself because it looks like this code handles C++ objects. I don't have a C++ compiler available to me on HP/UX. The change looks reasonably obvious, so hopefully it is fine. 2007-01-04 Joel Brobecker * hpread.c (hpread_type_lookup): Fix compilation failure. Checked in. -- Joel --FEz7ebHBGB6b2e8X Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hpread.c.diff" Content-length: 780 Index: hpread.c =================================================================== RCS file: /cvs/src/src/gdb/hpread.c,v retrieving revision 1.59 diff -u -p -r1.59 hpread.c --- hpread.c 3 Jan 2007 18:05:43 -0000 1.59 +++ hpread.c 4 Jan 2007 07:12:11 -0000 @@ -4871,10 +4871,9 @@ hpread_type_lookup (dnttpointer hp_type, struct type *ptrmemtype; struct type *class_type; struct type *memtype; - memtype = hpread_type_lookup (dn_bufp->dptrmem.memtype, - objfile), - class_type = hpread_type_lookup (dn_bufp->dptrmem.pointsto, - objfile), + + memtype = hpread_type_lookup (dn_bufp->dptrmem.memtype, objfile); + class_type = hpread_type_lookup (dn_bufp->dptrmem.pointsto, objfile); return lookup_memberptr_type (memtype, class_type); } break; --FEz7ebHBGB6b2e8X--