[PATCH -tip 2/6 V4.1] x86: add arch-dep register and stack access API to ptrace

2009-04-03 Thread Masami Hiramatsu
Add following APIs for accessing registers and stack entries from pt_regs. - query_register_offset(const char *name) Query the offset of name register. - query_register_name(unsigned offset) Query the name of register by its offset. - get_register(struct pt_regs *regs, unsigned offset)

Re: [PATCH -tip 2/6 V4.1] x86: add arch-dep register and stack access API to ptrace

2009-04-03 Thread Roland McGrath
+static struct pt_regs_offset regoffset_table[] = { ^ const -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH -tip 2/6 V4.1] x86: add arch-dep register and stack access API to ptrace

2009-04-03 Thread Masami Hiramatsu
Roland McGrath wrote: +static struct pt_regs_offset regoffset_table[] = { ^ const Oops, exactly. Perhaps, I need to update insn.c to make bitmap tables static const too. Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America) Inc. Software Solutions