public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Niemeyer <niemeyer@conectiva.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] strace / ptrace_offsets.h
Date: Tue, 10 Apr 2001 11:50:33 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590693005387@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590693005384@msgid-missing>

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

Hi Andreas!

[...]
> |> This problem seems to be back with strace 4.3 and kernel 2.4.3. In this
> |> case, which one should be fixed??
> 
> Use the strace source from the ia64_0 branch on
> cvs.strace.sourceforge.net.

I've been using it for some time, but it is not up to date with the
latest strace release (4.3). Anyway, your answer means that the problem
is probably with strace itself. Attached is a patch I've used to build
it.

Thanks!!

-- 
Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]

[-- Attachment #2: strace-4.3-ia64.patch --]
[-- Type: text/plain, Size: 1169 bytes --]

--- strace-4.3/process.c.ia64	Wed Mar 28 17:29:17 2001
+++ strace-4.3/process.c	Tue Apr 10 08:32:30 2001
@@ -1989,16 +1989,10 @@
 	{ PT_F27, "f27" }, { PT_F28, "f28" }, { PT_F29, "f29" },
 	{ PT_F30, "f30" }, { PT_F31, "f31" }, { PT_R4, "r4" },
 	{ PT_R5, "r5" }, { PT_R6, "r6" }, { PT_R7, "r7" },
-	{ PT_K_B0, "kb0" },
 	{ PT_B1, "b1" }, { PT_B2, "b2" }, { PT_B3, "b3" },
 	{ PT_B4, "b4" }, { PT_B5, "b5" },
-	{ PT_K_AR_PFS, "kar.pfs" },
-	{ PT_AR_LC, "ar.lc" }, { PT_K_AR_UNAT, "kar.unat" },
-	{ PT_K_AR_RNAT, "kar.rnat" }, { PT_K_AR_BSPSTORE, "kar.bspstore" },
-	{ PT_K_PR, "k.pr" },
 	/* pt_regs */
 	{ PT_CR_IPSR, "cr.ipsr" }, { PT_CR_IIP, "cr.iip" },
-	{ PT_CR_IFS, "cr.ifs" }, { PT_AR_UNAT, "ar.unat" },
 	{ PT_AR_PFS, "ar.pfs" }, { PT_AR_RSC, "ar.rsc" },
 	{ PT_AR_RNAT, "ar.rnat" }, { PT_AR_BSPSTORE, "ar.bspstore" },
 	{ PT_PR, "pr" }, { PT_B6, "b6" }, { PT_AR_BSP, "ar.bsp" },
--- strace-4.3/signal.c.ia64	Wed Mar 28 17:29:17 2001
+++ strace-4.3/signal.c	Tue Apr 10 08:38:07 2001
@@ -84,7 +84,9 @@
 	int			si_mask;
 } m_siginfo_t;
 #else
+#ifndef IA64
 #include <asm/sigcontext.h>
+#endif
 #endif /* SPARC */
 #else /* !HAVE_ASM_SIGCONTEXT_H */
 #ifdef I386

      parent reply	other threads:[~2001-04-10 11:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-10  3:11 [Linux-ia64] strace / ptrace_offsets.h Gustavo Niemeyer
2001-04-10  9:55 ` Andreas Schwab
2001-04-10 11:50 ` Gustavo Niemeyer [this message]

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-105590693005387@msgid-missing \
    --to=niemeyer@conectiva.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