<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/kernel/ptrace.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-10-28T01:03:10Z</updated>
<entry>
<title>ptrace: cleanup arch_ptrace() on ARM</title>
<updated>2010-10-28T01:03:10Z</updated>
<author>
<name>Namhyung Kim</name>
</author>
<published>2010-10-27T22:33:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b640a0d192265c47bbf60951115bdb59d2c017d1'/>
<id>urn:sha1:b640a0d192265c47bbf60951115bdb59d2c017d1</id>
<content type='text'>
use new 'datap' variable in order to remove unnecessary castings.

Signed-off-by: Namhyung Kim &lt;namhyung@gmail.com&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ptrace: change signature of arch_ptrace()</title>
<updated>2010-10-28T01:03:10Z</updated>
<author>
<name>Namhyung Kim</name>
</author>
<published>2010-10-27T22:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b05a69e0534ec70bc94921936ffa05b330507cb'/>
<id>urn:sha1:9b05a69e0534ec70bc94921936ffa05b330507cb</id>
<content type='text'>
Fix up the arguments to arch_ptrace() to take account of the fact that
@addr and @data are now unsigned long rather than long as of a preceding
patch in this series.

Signed-off-by: Namhyung Kim &lt;namhyung@gmail.com&gt;
Cc: &lt;linux-arch@vger.kernel.org&gt;
Acked-by: Roland McGrath &lt;roland@redhat.com&gt;
Acked-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ARM: 6357/1: hw-breakpoint: add new ptrace requests for hw-breakpoint interaction</title>
<updated>2010-09-08T09:05:00Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2010-09-03T09:42:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=864232fa1a2f8dfe003438ef0851a56722740f3e'/>
<id>urn:sha1:864232fa1a2f8dfe003438ef0851a56722740f3e</id>
<content type='text'>
For debuggers to take advantage of the hw-breakpoint framework in the kernel,
it is necessary to expose the API calls via a ptrace interface.

This patch exposes the hardware breakpoints framework as a collection of
virtual registers, accesible using PTRACE_SETHBPREGS and PTRACE_GETHBPREGS
requests. The breakpoints are stored in the debug_info struct of the running
thread.

Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: S. Karthikeyan &lt;informkarthik@gmail.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: 6199/1: Add kprobe-based event tracer</title>
<updated>2010-07-09T13:41:34Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2010-06-25T11:24:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e513f8bf240d34bd6e732ba2f74df9ab84686ce6'/>
<id>urn:sha1:e513f8bf240d34bd6e732ba2f74df9ab84686ce6</id>
<content type='text'>
This patch enables the HAVE_REGS_AND_STACK_ACCESS_API option
for ARM which is required by the kprobe events tracer. Code based
on the PowerPC port.

Cc: Jean Pihet &lt;jpihet@mvista.com&gt;
Tested-by: Jamie Iles &lt;jamie.iles@picochip.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>arm: use generic ptrace_resume code</title>
<updated>2010-03-12T23:52:38Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-03-10T23:22:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=440e6ca79aebdc274ce4c625a6f42c8bf3c7bc91'/>
<id>urn:sha1:440e6ca79aebdc274ce4c625a6f42c8bf3c7bc91</id>
<content type='text'>
Use the generic ptrace_resume code for PTRACE_SYSCALL, PTRACE_CONT,
PTRACE_KILL and PTRACE_SINGLESTEP.  This implies defining
arch_has_single_step in &lt;asm/ptrace.h&gt; and implementing the
user_enable_single_step and user_disable_single_step functions, which also
causes the breakpoint information to be cleared on fork, which could be
considered a bug fix.

Also the TIF_SYSCALL_TRACE thread flag is now cleared on PTRACE_KILL which
it previously wasn't and the single stepping disable only happens if the
tracee process isn't a zombie yet, which is consistent with all
architectures using the modern ptrace code.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: Roland McGrath &lt;roland@redhat.com&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ARM: vfp ptrace: no point flushing hw context for PTRACE_GETVFPREGS</title>
<updated>2010-02-15T21:39:53Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2010-02-06T11:36:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad187f956108e1c56b444706212bf08d84c0bee0'/>
<id>urn:sha1:ad187f956108e1c56b444706212bf08d84c0bee0</id>
<content type='text'>
If we're only reading the VFP context via the ptrace call, there's
no need to invalidate the hardware context - we only need to do that
on PTRACE_SETVFPREGS.  This allows more efficient monitoring of a
traced task.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: ptrace: get rid of PTRACE_{PEEK,POKE}{TEXT,DATA}</title>
<updated>2010-02-15T21:39:52Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2010-02-06T10:35:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=462f39a8c7496c95f4de91ef46d875f46e0fa271'/>
<id>urn:sha1:462f39a8c7496c95f4de91ef46d875f46e0fa271</id>
<content type='text'>
The generic ptrace_request() handles these for us, so there's no
need to duplicate them in arch code.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: 5912/1: Define a 32-bit Thumb-2 breakpoint instruction</title>
<updated>2010-02-15T21:39:52Z</updated>
<author>
<name>Daniel Jacobowitz</name>
</author>
<published>2010-02-02T17:22:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d23bc1b3a7e6db935acb9a949a5985d9b77dfd13'/>
<id>urn:sha1:d23bc1b3a7e6db935acb9a949a5985d9b77dfd13</id>
<content type='text'>
Recognize 0xf7f0 0xa000 as a 32-bit breakpoint instruction for
Thumb-2.

Signed-off-by: Daniel Jacobowitz &lt;dan@codesourcery.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>nommu: ptrace support</title>
<updated>2009-07-24T11:34:58Z</updated>
<author>
<name>Paul Brook</name>
</author>
<published>2009-07-24T11:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68b7f7153fa58df710924fbb79722717d2d16094'/>
<id>urn:sha1:68b7f7153fa58df710924fbb79722717d2d16094</id>
<content type='text'>
The patch below adds ARM ptrace functions to get the process load address.
This is required for useful userspace debugging on mmuless systems.  These
values are obtained by reading magic offsets with PTRACE_PEEKUSR, as on other
nommu targets. I picked arbitrary large values for the offsets.

Signed-off-by: Paul Brook &lt;paul@codesourcery.com&gt;
</content>
</entry>
<entry>
<title>[ARM] 5387/1: Add ptrace VFP support on ARM</title>
<updated>2009-02-12T10:59:43Z</updated>
<author>
<name>Catalin Marinas</name>
</author>
<published>2009-02-11T12:12:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d1228ead618b88e8606015cbabc49019981805d'/>
<id>urn:sha1:3d1228ead618b88e8606015cbabc49019981805d</id>
<content type='text'>
This patch adds ptrace support for setting and getting the VFP registers
using PTRACE_SETVFPREGS and PTRACE_GETVFPREGS. The user_vfp structure
defined in asm/user.h contains 32 double registers (to cover VFPv3 and
Neon hardware) and the FPSCR register.

Cc: Paul Brook &lt;paul@codesourcery.com&gt;
Cc: Daniel Jacobowitz &lt;dan@codesourcery.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
</feed>
