This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] IA64: EC, the Epilog Count register, is available in ptrace.


On 03/28/2012 06:12 PM, Joel Brobecker wrote:

>> 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...


Yeah.  I've applied this.  Thanks.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]