This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/5554] sytemtap.syscall failures on ia64.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]