userspace rhirst
Richard Hirst
rhirst@puffin.external.hp.com
Thu, 4 Jan 2001 18:21:11 -0700
CVSROOT: /home/cvs/parisc
Module name: userspace
Changes by: rhirst 01/01/04 18:21:11
Added files:
. : pt.c
Log message:
/*
* Simple ptrace() test harness for parisc.
*
* Richard Hirst <rhirst@linuxcare.com>
*
* Examples:
*
* ./pt -s thing
*
* runs thing, tracing syscalls. Similar to strace, but you can't pass
* arguments to thing.
*
* ./pt -m 0x124c -i thing
*
* would set breakpoint at 0x124c, run thing to the breakpoint, and
* then singlestep it. Typically the address would be main(), to avoid
* tracing all the initialisation code.
*
* ./pt -s -a 1234
*
* would attach to process 1234 and then let it run tracing syscalls.
*
* See usage() for all options.
*/