Re: [RFC PATCH v1 14/40] metag: Ptrace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/11/12 07:17, Jonas Bonn wrote:
> On 31 October 2012 17:13, James Hogan <james.hogan@xxxxxxxxxx> wrote:
>> We use the non-generic interface at the moment (exposing the TBX context
>> structures to userland), pending conversion to the generic ptrace
>> interface.
>>
> 
> Hi James,
> 
> Comment 1, as you already mentioned in the blurb, is to use the
> generic ptrace interface... a lot of your ptrace functions aren't need
> anymore.
> Comment 2, is to avoid exporting the struct pt_regs to userspace.  GDB
> should be using regsets for accessing the current context for new
> architectures and doesn't need to know about the pt_regs layout
> anymore.  Not exporting pt_regs gains you the flexibility to optimize
> context saving in the future if you figure out a better (e.g. cache
> friendlier) way of saving your registers at exception time.

Thanks Jonas,

Yes, this is definitely something we want to do as our pt_regs layout is
rather convoluted and we'd like the flexibility to simplify it.

Cheers
James

--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux