This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH -tip 2/6 V4.1] x86: add arch-dep register and stack access API to ptrace
- From: Masami Hiramatsu <mhiramat at redhat dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: Frederic Weisbecker <fweisbec at gmail dot com>, Ingo Molnar <mingo at elte dot hu>, Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>, Steven Rostedt <rostedt at goodmis dot org>, Andrew Morton <akpm at linux-foundation dot org>, Andi Kleen <andi at firstfloor dot org>, Arnaldo Carvalho de Melo <acme at redhat dot com>, Jim Keniston <jkenisto at us dot ibm dot com>, systemtap-ml <systemtap at sources dot redhat dot com>, LKML <linux-kernel at vger dot kernel dot org>, kvm at vger dot kernel dot org
- Date: Fri, 03 Apr 2009 17:34:08 -0400
- Subject: Re: [PATCH -tip 2/6 V4.1] x86: add arch-dep register and stack access API to ptrace
- References: <49D4F4DF.1040605@redhat.com> <20090402234835.GA6112@nowhere> <49D6331D.6000505@redhat.com> <20090403202004.3A2B1FC3AB@magilla.sf.frob.com>
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 Division
e-mail: mhiramat@redhat.com