This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/7 v3] Allow target to decide where to map jump-pad.
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: cole945 at gmail dot com (Wei-cheng Wang)
- Cc: gdb-patches at sourceware dot org, cole945 at gmail dot com (Wei-cheng Wang)
- Date: Wed, 8 Apr 2015 19:04:31 +0200 (CEST)
- Subject: Re: [PATCH 4/7 v3] Allow target to decide where to map jump-pad.
- Authentication-results: sourceware.org; auth=none
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