From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9721 invoked by alias); 6 Apr 2007 21:53:16 -0000 Received: (qmail 9713 invoked by uid 22791); 6 Apr 2007 21:53:13 -0000 X-Spam-Check-By: sourceware.org Received: from palrel12.hp.com (HELO palrel12.hp.com) (156.153.255.237) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 06 Apr 2007 22:53:11 +0100 Received: from smtp2.cup.hp.com (smtp.cup.hp.com [15.4.32.118]) by palrel12.hp.com (Postfix) with ESMTP id 2FEE636AF3 for ; Fri, 6 Apr 2007 14:53:10 -0700 (PDT) Received: from hpsje.cup.hp.com (hpsje.cup.hp.com [16.89.92.85]) by smtp2.cup.hp.com (Postfix) with ESMTP id E9E7D30DDE0 for ; Fri, 6 Apr 2007 21:46:13 +0000 (UTC) Received: (from sje@localhost) by hpsje.cup.hp.com (8.9.3 (PHNE_29774)/8.9.3) id OAA16290 for gdb-patches@gcc.gnu.org; Fri, 6 Apr 2007 14:53:09 -0700 (PDT) Date: Fri, 06 Apr 2007 21:53:00 -0000 From: Steve Ellcey Message-Id: <200704062153.OAA16290@hpsje.cup.hp.com> To: gdb-patches@gcc.gnu.org Subject: Patch for gdb build on hppa hp-ux Reply-To: sje@cup.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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-04/txt/msg00033.txt.bz2 This patch fixes a build problem on hppa hp-ux. This is the first of two patches I have that allow me to build gdb on hppa hp-ux. The build has been broken (for me at least) for some time. This is the only HP specific change that was needed. Tested by building gdb on hppa hp-ux. OK to checkin? Steve Ellcey sje@cup.hp.com 2007-04-06 Steve Ellcey * hpread.c (hpread_get_next_skip_over_anon_unions): Fix CHECK_TYPEDEF usage. Index: hpread.c =================================================================== RCS file: /cvs/src/src/gdb/hpread.c,v retrieving revision 1.62 diff -p -u -r1.62 hpread.c --- hpread.c 9 Jan 2007 17:58:51 -0000 1.62 +++ hpread.c 6 Apr 2007 21:47:21 -0000 @@ -6316,7 +6316,7 @@ hpread_get_next_skip_over_anon_unions (i /* Get type of item we're looking at now; recursively processes the types of these intermediate items we skip over, so they aren't lost. */ anon_type = hpread_type_lookup ((*fieldp)->dfield.type, objfile); - anon_type = CHECK_TYPEDEF (anon_type); + CHECK_TYPEDEF (anon_type); bitoffset = (*fieldp)->dfield.bitoffset; name = VT (objfile) + (*fieldp)->dfield.name; /* First skip over one item to avoid stack death on recursion */