Bug 381769

Summary: Use ucontext_t instead of struct ucontext
Product: [Developer tools] valgrind Reporter: Khem Raj <raj.khem>
Component: memcheckAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal CC: carlos, fweimer, mark, tom
Priority: NOR    
Version: 3.13 SVN   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: proposed fix

Description Khem Raj 2017-06-28 18:13:09 UTC
Created attachment 106359 [details]
proposed fix

glibc 2.26 does not expose struct ucontext anymore. Attached patch fixes it
Comment 1 Carlos O'Donell 2017-06-29 12:54:26 UTC
(In reply to Khem Raj from comment #0)
> Created attachment 106359 [details]
> proposed fix
> 
> glibc 2.26 does not expose struct ucontext anymore. Attached patch fixes it

This patch looks good to me.

Keep in mind that 2.26 is not out yet, but it will be released August 1st, and the packaging changes required are being documented for the release in the usual place:

https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27struct_ucontext.27
Comment 2 Mark Wielaard 2017-06-29 15:27:37 UTC
Thanks. Pushed as valgrind svn r16457.