This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH-for-2.21-and-2.22] s390-64: remove socketcall syscalls


On Mon, 4 Jan 2016, Adhemerval Zanella wrote:

> My view it was required back in time when compiler generated code for the
> C inline calls was deficient (either by missing some argument constraints
> like i386/arm or by due some performance issues), however currently I 
> see we should aim for only one definition: through C-code generated
> syscalls (either by auto-generation from the syscalls.list or independent
> C files).

I'm fine with syscalls using generated C code.

I think there was a suggestion in the past that the auto-generated 
syscalls ought to have debug information so you can see argument values 
when you interrupt a debugged program inside read or write or other 
syscalls.  If it could be arranged for auto-generated syscalls to have 
correct argument types and meaningful names, generating them in C might 
help get such debug information, though I don't know how good it would be 
in practice.

-- 
Joseph S. Myers
joseph@codesourcery.com


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