From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Re: strace improvement patch
Date: Wed, 08 Jan 2003 23:43:22 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805652@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805650@msgid-missing>
>>>>> On Wed, 8 Jan 2003 14:17:06 -0800, Roland McGrath <roland@redhat.com> said:
Roland> Thanks, David. That original patch was indeed by me. I am
Roland> now doing most of the strace maintenance on the sourceforge
Roland> version directly.
I'm very happy to hear that. Seems like you have made lots of nice
improvements already.
Roland> I was already planning to merge those changes in, along with
Roland> some more clone-related changes I have to handle the 2.5
Roland> threads stuff that I will finish up and merge. I will
Roland> incorporate your fixes and test it on IA64 before I commit
Roland> those changes.
Thanks!
>>>>> On Wed, 8 Jan 2003 14:20:02 -0800, Roland McGrath <roland@redhat.com> said:
>> Also, I'd recommend to use gcc-3.2 for compiling strace. I
>> encountered some strange bugs with gcc-2.96, though I did not try to
>> track them down. With gcc-3.2, those bugs went away and strace now
>> seems to work quite nicely (once again, that is).
Roland> Can you give me at least a clue what to look for?
Sure thing: what happened is that after an execve(), all syscall
result values would come out wrong (usually as 0x8000000000000000 or
-9223372036854775808). It didn't always happen, and the problem
usually went away whenever I tried to track it down by adding printfs.
I think the problem was that strace got out of sync and thought that
the program was returning from a syscall when it was actually entering
it.
--david
next prev parent reply other threads:[~2003-01-08 23:43 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 [this message]
2003-01-09 7:05 ` Roland McGrath
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-105590709805652@msgid-missing \
--to=davidm@napali.hpl.hp.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