From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4160 invoked by alias); 12 Mar 2013 03:10:52 -0000 Received: (qmail 4147 invoked by uid 22791); 12 Mar 2013 03:10:51 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from blu0-omc2-s31.blu0.hotmail.com (HELO blu0-omc2-s31.blu0.hotmail.com) (65.55.111.106) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Mar 2013 03:10:39 +0000 Received: from BLU0-SMTP32 ([65.55.111.73]) by blu0-omc2-s31.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Mar 2013 20:10:38 -0700 X-EIP: [eG5rCCrpi9vkKjVVGLn2Kad6pWs9EnLV] Message-ID: Received: from [192.168.2.10] ([64.229.87.129]) by BLU0-SMTP32.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Mar 2013 20:10:37 -0700 From: John David Anglin To: Pedro Alves In-Reply-To: <513DF86E.7030203@redhat.com> Subject: Re: [RFC PATCH] hppa-hpux-tdep.c: Fix host dependency. References: <20130308162241.32137.86462.stgit@brno.lan> <20130308225602.GB3264@adacore.com> <513DF86E.7030203@redhat.com> Content-Type: text/plain; charset="US-ASCII"; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit MIME-Version: 1.0 (Apple Message framework v936) Date: Tue, 12 Mar 2013 03:10:00 -0000 CC: Joel Brobecker , gdb-patches@sourceware.org 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: 2013-03/txt/msg00500.txt.bz2 On 11-Mar-13, at 11:29 AM, Pedro Alves wrote: > Would you be able to help giving this patch a quick try > on HP-UX? Patched file compiles fine on both hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. I think the trampoline works on hppa64: (gdb) p var $4 = (tree) 0x800003fffdeaab48 (gdb) p debug_tree (var) unit size align 64 symtab 0 alias set -1 canonical type 800003fffddc97e0 precision 64 min max > used unsigned ignored DI file /test/gnu/gcc/gcc/gcc/testsuite/ gcc.c-torture/compile/pr55921.c line 10 col 1 size unit size align 64 context > $5 = void (gdb) Haven't tested 32-bit yet. There is one small unrelated issue that needs fixing: gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common -I../../src/ gdb/config -DLOCALEDIR="\"/opt/gnu64/share/locale\"" -DHAVE_CONFIG_H - I../../src/gdb/../include/opcode -I../../src/gdb/../opcodes/.. -I../../ src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd -I../../src/ gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber - I../../src/gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -Wall - Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno- pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch - Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Werror -c -o hppa-hpux-nat.o -MT hppa-hpux-nat.o -MMD - MP -MF .deps/hppa-hpux-nat.Tpo ../../src/gdb/hppa-hpux-nat.c ../../src/gdb/hppa-hpux-nat.c:45:1: error: no previous prototype for 'hppa_hpux_save_state_offset' [-Werror=missing-prototypes] cc1: all warnings being treated as errors Believe the function should be static. Dave -- John David Anglin dave.anglin@bell.net