public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Roland McGrath <roland@redhat.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Re: strace improvement patch
Date: Thu, 09 Jan 2003 07:05:55 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590709805653@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805650@msgid-missing>

>  * util.c (arg_setup) [IA64]: Make it work for syscall-stubs that have
> 	a non-empty local register partition.
>    (set_arg0) [IA64]: Fix it so it actually works.
>    (set_arg1) [IA64]: Ditto.
>    (setbpt): Treat SYS_clone2 like SYS_clone.

Are you sure this really works on IA64?  I've merged the changes, and
though I fixed some other problems with my original code, the IA64 code in
util.c is exactly what's in your patch.  It doesn't work for me on IA64.
The failure mode suggests the argument munging code is munging the wrong
thing.  I don't know IA64 halfway well enough to figure out how it might be
wrong, and it looks to me like it matches the code that fetches those
values in syscall_enter.  When I do "strace -f /usr/bin/time /bin/true",
both parent and child die with SIGSEGV upon continuing the clone syscall
whose arguments should have been munged to set the CLONE_PTRACE flag.
(It executes fine without -f.)

I've committed the changes (along with some more fixes and new support for
the new threads features in Linux 2.5).  Can you get the current sources
from sourceforge and try them on IA64?  After getting a cvs checkout,
you'll need to run "autoreconf -i" with automake-1.7.2 and autoconf-2.57.

Unless someone can help me fix this right away, we'll probably go ahead
with a 4.4.90 test release with this bug still biting IA64.


Thanks,
Roland



  parent reply	other threads:[~2003-01-09  7:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08 22:17 [Linux-ia64] Re: strace improvement patch Roland McGrath
2003-01-08 22:20 ` Roland McGrath
2003-01-08 23:43 ` David Mosberger
2003-01-09  7:05 ` Roland McGrath [this message]
2003-01-09  7:24 ` David Mosberger
2003-02-24 21:20 ` Roland McGrath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590709805653@msgid-missing \
    --to=roland@redhat.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox