From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63978 invoked by alias); 8 Apr 2015 17:04:39 -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 63968 invoked by uid 89); 8 Apr 2015 17:04:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp11.uk.ibm.com Received: from e06smtp11.uk.ibm.com (HELO e06smtp11.uk.ibm.com) (195.75.94.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 08 Apr 2015 17:04:38 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 8 Apr 2015 18:04:35 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 8 Apr 2015 18:04:32 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 854B117D805A for ; Wed, 8 Apr 2015 18:05:05 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t38H4WQY10551660 for ; Wed, 8 Apr 2015 17:04:32 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t38H4VCb012355 for ; Wed, 8 Apr 2015 11:04:32 -0600 Received: from oc7340732750.ibm.com (dyn-9-152-213-199.boeblingen.de.ibm.com [9.152.213.199]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t38H4VXJ012352; Wed, 8 Apr 2015 11:04:31 -0600 Received: by oc7340732750.ibm.com (Postfix, from userid 500) id B6F9FCF20; Wed, 8 Apr 2015 19:04:31 +0200 (CEST) Subject: Re: [PATCH 4/7 v3] Allow target to decide where to map jump-pad. To: cole945@gmail.com (Wei-cheng Wang) Date: Wed, 08 Apr 2015 17:04:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, cole945@gmail.com (Wei-cheng Wang) In-Reply-To: <1427733032-64989-4-git-send-email-cole945@gmail.com> from "Wei-cheng Wang" at Mar 31, 2015 12:30:29 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20150408170431.B6F9FCF20@oc7340732750.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15040817-0041-0000-0000-000003FE34F1 X-SW-Source: 2015-04/txt/msg00283.txt.bz2 Wei-cheng Wang wrote: > * tracepoint.c (initialize_tracepoint): Call jump_pad_area_hint > to get where to map gdb_jump_pad_buffer. Remove MAP_FIXED. > * tracepoint.h (jump_pad_area_hint): Add declaration. > * linux-amd64-ipa.c (jump_pad_area_hint): New function. > * linux-i386-ipa.c (jump_pad_area_hint): New function. > * linux-ppc-ipa.c (jump_pad_area_hint): New function. As I mentioned in another mail, we should have a configure check for the availability of getauxval. Otherwise looks good. Thanks, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com