2002-10-23 14:55:30

by Frank Cornelis

[permalink] [raw]
Subject: [PATCH] extended ptrace

Hi,

A new extended ptrace patch is available at:
http://www.elis.rug.ac.be/~fcorneli/downloads/devel/exptrace-0.3.1.patch.gz

This one has the PTRACE_READDATA, PTRACE_WRITEDATA and PTRACE_DUMPCORE
ptrace requests from SunOS along with faster ptrace_readdata and
ptrace_writedata functions and some other extended ptrace functionality
I need. It's patched against 2.4.19.
Since some people often talked about it, I thought some will like this.

Feedback is very welcome. Please CC me.

Frank.


2002-10-23 15:37:16

by Paul Larson

[permalink] [raw]
Subject: Re: [PATCH] extended ptrace

On Wed, 2002-10-23 at 10:01, Frank Cornelis wrote:
> Hi,
>
> A new extended ptrace patch is available at:
> http://www.elis.rug.ac.be/~fcorneli/downloads/devel/exptrace-0.3.1.patch.gz
Do you (or anyone else) have any good tests for this, or even ptrace in
general? I'm working on some ptrace tests for LTP, but if someone
already has something to contribute it would save me some time. :)

Thanks,
Paul Larson

2002-10-23 15:57:40

by Daniel Jacobowitz

[permalink] [raw]
Subject: Re: [PATCH] extended ptrace

On Wed, Oct 23, 2002 at 10:33:17AM -0500, Paul Larson wrote:
> On Wed, 2002-10-23 at 10:01, Frank Cornelis wrote:
> > Hi,
> >
> > A new extended ptrace patch is available at:
> > http://www.elis.rug.ac.be/~fcorneli/downloads/devel/exptrace-0.3.1.patch.gz
> Do you (or anyone else) have any good tests for this, or even ptrace in
> general? I'm working on some ptrace tests for LTP, but if someone
> already has something to contribute it would save me some time. :)

GDB and gdbserver get a good range of it; just pick a couple of the
standard tests (to avoid problems with all the GDB bugs the testsuite
turns up :). I have some more precise tests but they're for
features that haven't been accepted yet.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer

2002-10-23 16:04:42

by Paul Larson

[permalink] [raw]
Subject: Re: [PATCH] extended ptrace

On Wed, 2002-10-23 at 11:01, Daniel Jacobowitz wrote:
> On Wed, Oct 23, 2002 at 10:33:17AM -0500, Paul Larson wrote:
> > On Wed, 2002-10-23 at 10:01, Frank Cornelis wrote:
> > > Hi,
> > >
> > > A new extended ptrace patch is available at:
> > > http://www.elis.rug.ac.be/~fcorneli/downloads/devel/exptrace-0.3.1.patch.gz
> > Do you (or anyone else) have any good tests for this, or even ptrace in
> > general? I'm working on some ptrace tests for LTP, but if someone
> > already has something to contribute it would save me some time. :)
>
> GDB and gdbserver get a good range of it; just pick a couple of the
> standard tests (to avoid problems with all the GDB bugs the testsuite
> turns up :). I have some more precise tests but they're for
> features that haven't been accepted yet.
Precise tests that can be automated and ran under our test harness are
more along the lines of what I'm looking for. If those features do go
in, it might be nice to have them in LTP if you don't mind.

Thanks,
Paul Larson

2002-10-23 18:38:54

by Daniel Jacobowitz

[permalink] [raw]
Subject: Re: [PATCH] extended ptrace

On Wed, Oct 23, 2002 at 11:00:13AM -0500, Paul Larson wrote:
> On Wed, 2002-10-23 at 11:01, Daniel Jacobowitz wrote:
> > On Wed, Oct 23, 2002 at 10:33:17AM -0500, Paul Larson wrote:
> > > On Wed, 2002-10-23 at 10:01, Frank Cornelis wrote:
> > > > Hi,
> > > >
> > > > A new extended ptrace patch is available at:
> > > > http://www.elis.rug.ac.be/~fcorneli/downloads/devel/exptrace-0.3.1.patch.gz
> > > Do you (or anyone else) have any good tests for this, or even ptrace in
> > > general? I'm working on some ptrace tests for LTP, but if someone
> > > already has something to contribute it would save me some time. :)
> >
> > GDB and gdbserver get a good range of it; just pick a couple of the
> > standard tests (to avoid problems with all the GDB bugs the testsuite
> > turns up :). I have some more precise tests but they're for
> > features that haven't been accepted yet.
> Precise tests that can be automated and ran under our test harness are
> more along the lines of what I'm looking for. If those features do go
> in, it might be nice to have them in LTP if you don't mind.

No, I mean from GDB's automated regression suite. Build gdb from
source and 'make check' to see it. There's a lot of tests which fail
for reasons you aren't interested in, but a lot of them could just be
incorporated.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer

2002-11-08 21:32:11

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH] extended ptrace

Hi!

> Do you (or anyone else) have any good tests for this, or even ptrace in
> general? I'm working on some ptrace tests for LTP, but if someone
> already has something to contribute it would save me some time. :)

You may try to use subterfugue.sf.net to stress ptrace....
Pavel