From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22376 invoked by alias); 11 Jan 2011 23:15:02 -0000 Received: (qmail 22274 invoked by uid 22791); 11 Jan 2011 23:15:01 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from g5t0009.atlanta.hp.com (HELO g5t0009.atlanta.hp.com) (15.192.0.46) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Jan 2011 23:14:57 +0000 Received: from g5t0030.atlanta.hp.com (g5t0030.atlanta.hp.com [16.228.8.142]) by g5t0009.atlanta.hp.com (Postfix) with ESMTP id 8522930AC1; Tue, 11 Jan 2011 23:14:55 +0000 (UTC) Received: from lucas.cup.hp.com (lucas.cup.hp.com [15.244.97.116]) by g5t0030.atlanta.hp.com (Postfix) with ESMTP id 8B0F71434B; Tue, 11 Jan 2011 23:14:54 +0000 (UTC) Received: (from sje@localhost) by lucas.cup.hp.com (8.11.1 (PHNE_35485)/8.11.1) id p0BNErd19061; Tue, 11 Jan 2011 15:14:53 -0800 (PST) Date: Tue, 11 Jan 2011 23:26:00 -0000 Message-Id: <201101112314.p0BNErd19061@lucas.cup.hp.com> From: Steve Ellcey To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 6/8] port GDB to ia64-hpux (native). In-Reply-To: <1293511386-7384-7-git-send-email-brobecker@adacore.com> 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: 2011-01/txt/msg00236.txt.bz2 Joel, I tried building a native ia64-hpux gdb using your patches and I got this failure: /proj/opensrc/nightly/src/src/gdb/ia64-hpux-nat.c: In function 'ia64_hpux_fetch_rnat_register': /proj/opensrc/nightly/src/src/gdb/ia64-hpux-nat.c:188:5: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'CORE_ADDR' It looks like CORE_ADDR is defined as bfd_vma and bfd_vma is defined as 'unsigned long long' on ia64-hpux. I changed %lx to %llx and that seems to have fixed the problem. After fixing that I get the similar errors at lines 134, 209, and 462 of solib-ia64-hpux.c and made the same change and was able to do a complete build of gdb. I then ran the testsuite and here are the base results. gdb.base1 results: === gdb Summary === # of expected passes 3328 # of unexpected failures 455 # of unexpected successes 2 # of expected failures 8 # of known failures 19 # of unresolved testcases 1 # of untested testcases 5 # of unsupported tests 6 gdb.base2 results: === gdb Summary === # of expected passes 3092 # of unexpected failures 942 # of expected failures 1 # of known failures 4 # of untested testcases 10 # of unsupported tests 3 Steve Ellcey sje@cup.hp.com