Strace port to SuperH SH5

Thomas,Stephen stephen.thomas at superh.com
Mon Mar 31 00:15:02 UTC 2003


Hi Roland,

Thanks for the mail. I just though I should make clear that our changes are for SH5, which is a completely different architecture to the SH3/4. So there is no overlap with what Stuart Menefy has done. Anyway, I will regenerate the patch shortly...

Steve Thomas
SuperH (UK) Ltd.

-----Original Message-----
From: Roland McGrath [mailto:roland at redhat.com] 
Sent: 31 March 2003 02:11
To: Thomas,Stephen
Cc: Wichert Akkerman; strace-devel at lists.sourceforge.net; McGoogan,Sean
Subject: RE: Strace port to SuperH SH5


I have just put in the changes by Stuart Menefy <stuart.menefy at st.com> to update the SH support.  This will shortly be in a 4.4.96 test release. Stuart's changes addressed the -f behavior.  Please reconcile the new code in CVS with whatever changes you have and send in any remaining fixes you have.

The new setbpt/clearbpt code indeed works by just changing the registers that give the system call number and arguments to force a clone call using CLONE_PTRACE.  You don't need to worry about how that works in the kernel per se, just that the new code is correctly accessing the registers used for system call arguments.


Thanks,
Roland






More information about the Strace-devel mailing list