This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] IA64: EC, the Epilog Count register, is available in ptrace.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 28 Mar 2012 10:12:30 -0700
- Subject: Re: [PATCH] IA64: EC, the Epilog Count register, is available in ptrace.
- References: <4F730961.6030003@redhat.com> <20120328145451.12183.7502.stgit@brno.lan>
> Git blame on the kernel's sources shows the define always existed for
> at least as long as there's git history (1da177e, 2.6.12-rc2). I
> haven't checked further back...
>
> WDYT?
>
> 2012-03-28 Pedro Alves <palves@redhat.com>
>
> * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC.
Looks reasonable. I kind of doubt it will happen, but if anyone actually
comes across a system where it does not exist, we can add some code that
defines PT_AR_EC to -1 which would restore the previous behavior...
--
Joel