This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/5554] sytemtap.syscall failures on ia64.
- From: "mhiramat at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 23 Jan 2008 14:19:11 -0000
- Subject: [Bug testsuite/5554] sytemtap.syscall failures on ia64.
- References: <20080108200751.5554.mhiramat@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mhiramat at redhat dot com 2008-01-23 14:19 -------
(In reply to comment #7)
> > This patch uses kread() instead of using user_mode() directly.
> > I tested it on ia64, x86-64, i386.
>
> It would win ugliness contests, but I can't think of a better way.
Sure, I agreed.
Actually, I tried to find another way, but user_mode() implementation
strongly depends on architecture. And pt_regs was too big to be copied
on some arch. I think this patch is *currently* the best way to do that.
---
If there are something like deref_area_begin/deref_area_end macro(the
addresses between these macros are automatically registered to
the exception table), we can use user_mode() directly. but it should
be another enhancement.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5554
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.