Bug 306783 - Mips unhandled syscall : 4025 / 4079 / 4182
Summary: Mips unhandled syscall : 4025 / 4079 / 4182
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.8.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 09:34 UTC by Fred M
Modified: 2013-03-01 09:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
adding the missing syscall ? (735 bytes, patch)
2012-09-14 09:35 UTC, Fred M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fred M 2012-09-14 09:34:46 UTC
from strace mips header  , it seems to correspond at :

 WARNING: unhandled syscall: 4025  -> stime
 WARNING: unhandled syscall: 4079  -> settimeofday
 WARNING: unhandled syscall: 4182  -> shutdown ? 


In attachment I patch, which one remove the warning.

is the patch correct ? 

Reproducible: Always
Comment 1 Fred M 2012-09-14 09:35:44 UTC
Created attachment 73904 [details]
adding the missing syscall ?
Comment 2 Tom Hughes 2012-09-14 10:03:26 UTC
Comment on attachment 73904 [details]
adding the missing syscall ?

You should subtract 4000 from those numbers and then insert them at the correct place in the list - all the system call numbers in that file are without the 4000 base offset.
Comment 3 Petar Jovanovic 2012-09-18 17:21:32 UTC
The patch slightly modified for the code style issues, tested and commited as
r12995.
Comment 4 Petar Jovanovic 2012-09-18 17:29:02 UTC
Btw, the commit log should say:

"Patch contributed by Frédéric M. <dark_footix@yahoo.fr>"

but pasting accented letters and committing the change somehow resulted in

"Patch contributed bederic M. <dark_footix@yahoo.fr>"

Close enough, I hope.