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