From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88646 invoked by alias); 29 Mar 2016 18:23:57 -0000 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 Received: (qmail 88628 invoked by uid 89); 29 Mar 2016 18:23:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Wire, 20160313, 2016-03-13, HContent-Transfer-Encoding:8bit X-HELO: e06smtp07.uk.ibm.com Received: from e06smtp07.uk.ibm.com (HELO e06smtp07.uk.ibm.com) (195.75.94.103) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 29 Mar 2016 18:23:46 +0000 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 29 Mar 2016 19:23:43 +0100 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 29 Mar 2016 19:23:41 +0100 X-IBM-Helo: d06dlp02.portsmouth.uk.ibm.com X-IBM-MailFrom: uweigand@de.ibm.com X-IBM-RcptTo: gdb-patches@sourceware.org Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 6879A219004D for ; Tue, 29 Mar 2016 19:23:21 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u2TINehC66846874 for ; Tue, 29 Mar 2016 18:23:40 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u2TINeFl032067 for ; Tue, 29 Mar 2016 12:23:40 -0600 Received: from oc7340732750.ibm.com (dyn-9-152-213-47.boeblingen.de.ibm.com [9.152.213.47]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u2TINel7032064; Tue, 29 Mar 2016 12:23:40 -0600 Received: by oc7340732750.ibm.com (Postfix, from userid 500) id 6926CC9C7; Tue, 29 Mar 2016 20:23:40 +0200 (CEST) Subject: Re: [PATCH v2 3/4] gdbserver: Add powerpc fast tracepoint support. To: koriakin@0x04.net (=?UTF-8?q?Marcin=20Ko=C5=9Bcielnicki?=) Date: Tue, 29 Mar 2016 18:23:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, koriakin@0x04.net (=?UTF-8?q?Marcin=20Ko=C5=9Bcielnicki?=) In-Reply-To: <1458313764-6060-1-git-send-email-koriakin@0x04.net> from "=?UTF-8?q?Marcin=20Ko=C5=9Bcielnicki?=" at Mar 18, 2016 04:09:24 PM MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: <20160329182340.6926CC9C7@oc7340732750.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16032918-0029-0000-0000-00000C420AB7 X-SW-Source: 2016-03/txt/msg00530.txt.bz2 > gdb/gdbserver/ChangeLog: > > 2016-03-13 Wei-cheng Wang > Marcin Kościelnicki > > * Makefile.in: Add powerpc-*-ipa.o > * configure.srv: Add ipa_obj for powerpc*-linux. > * linux-ppc-ipa.c: New file. > * linux-ppc-low.c: Added linux-ppc-tdesc.h, ax.h, > tracepoint.h includes. > (PPC_FIELD): New macro. > (PPC_SEXT): New macro. > (PPC_OP6): New macro. > (PPC_BO): New macro. > (PPC_LI): New macro. > (PPC_BD): New macro. > (init_registers_*): Move prototype to linux-ppc-tdesc.h. > (tdesc_*): Move declaration to linux-ppc-tdesc.h. > (ppc_get_hwcap): Rename to ppc_get_auxv and add type parameter. > (ppc_get_thread_area): New function. > (is_elfv2_inferior): New function. > (gen_ds_form): New function. > (GEN_STD): New macro. > (GEN_STDU): New macro. > (GEN_LD): New macro. > (GEN_LDU): New macro. > (gen_d_form): New function. > (GEN_ADDI): New macro. > (GEN_ADDIS): New macro. > (GEN_LI): New macro. > (GEN_LIS): New macro. > (GEN_ORI): New macro. > (GEN_ORIS): New macro. > (GEN_LWZ): New macro. > (GEN_STW): New macro. > (GEN_STWU): New macro. > (gen_xfx_form): New function. > (GEN_MFSPR): New macro. > (GEN_MTSPR): New macro. > (GEN_MFCR): New macro. > (GEN_MTCR): New macro. > (GEN_SYNC): New macro. > (GEN_LWSYNC): New macro. > (gen_x_form): New function. > (GEN_OR): New macro. > (GEN_MR): New macro. > (GEN_LWARX): New macro. > (GEN_STWCX): New macro. > (GEN_CMPW): New macro. > (gen_md_form): New function. > (GEN_RLDICL): New macro. > (GEN_RLDICR): New macro. > (gen_i_form): New function. > (GEN_B): New macro. > (GEN_BL): New macro. > (gen_b_form): New function. > (GEN_BNE): New macro. > (GEN_LOAD): New macro. > (GEN_STORE): New macro. > (gen_limm): New function. > (gen_atomic_xchg): New function. > (gen_call): New function. > (ppc_relocate_instruction): New function. > (ppc_install_fast_tracepoint_jump_pad): New function. > (ppc_get_min_fast_tracepoint_insn_len): New function. > (ppc_get_ipa_tdesc_idx): New function. > (the_low_target): Wire in the new functions. > (initialize_low_arch) [!__powerpc64__]: Don'it initialize 64-bit > tdescs. > * linux-ppc-tdesc.h: New file. This is OK once the pre-requisite patches are in. Thanks, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com