Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 782935 Details for
Bug 991889
dyninst: FTBFS in rawhide
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Avoid including <linux/ptrace.h>
dyninst-pokeuser.patch (text/plain), 2.21 KB, created by
William Cohen
on 2013-08-05 16:54:07 UTC
(
hide
)
Description:
Avoid including <linux/ptrace.h>
Filename:
MIME Type:
Creator:
William Cohen
Created:
2013-08-05 16:54:07 UTC
Size:
2.21 KB
patch
obsolete
>diff -up dyninst/proccontrol/src/linux.C.orig dyninst/proccontrol/src/linux.C >--- dyninst/proccontrol/src/linux.C.orig 2013-06-18 11:34:02.000000000 -0400 >+++ dyninst/proccontrol/src/linux.C 2013-08-05 12:16:35.172000000 -0400 >@@ -1970,7 +1970,7 @@ bool linux_thread::plat_getRegister(Dyni > const unsigned size = i->second.second; > assert(sizeof(val) >= size); > val = 0; >- unsigned long result = do_ptrace((pt_req) PTRACE_PEEKUSR, lwp, (void *) offset, NULL); >+ unsigned long result = do_ptrace((pt_req) PTRACE_PEEKUSER, lwp, (void *) offset, NULL); > if (errno != 0) { > perr_printf("Error reading registers from %d: %s\n", lwp, strerror(errno)); > setLastError(err_internal, "Could not read register from thread"); >@@ -2184,11 +2184,11 @@ bool linux_thread::plat_setRegister(Dyni > int result; > if (size == 4) { > uint32_t value = (uint32_t) val; >- result = do_ptrace((pt_req) PTRACE_POKEUSR, lwp, (void *) offset, (void *) value); >+ result = do_ptrace((pt_req) PTRACE_POKEUSER, lwp, (void *) offset, (void *) value); > } > else if (size == 8) { > uint64_t value = (uint64_t) val; >- result = do_ptrace((pt_req) PTRACE_POKEUSR, lwp, (void *) offset, (void *) value); >+ result = do_ptrace((pt_req) PTRACE_POKEUSER, lwp, (void *) offset, (void *) value); > } > else { > assert(0); >diff -up dyninst/proccontrol/src/linux.h.orig dyninst/proccontrol/src/linux.h >--- dyninst/proccontrol/src/linux.h.orig 2013-06-18 11:34:02.000000000 -0400 >+++ dyninst/proccontrol/src/linux.h 2013-08-05 12:16:35.173000000 -0400 >@@ -47,7 +47,6 @@ > #include "common/h/dthread.h" > #include <sys/types.h> > #include <sys/ptrace.h> >-#include <linux/ptrace.h> > > typedef enum __ptrace_request pt_req; > >diff -up dyninst/stackwalk/src/linux-swk.C.orig dyninst/stackwalk/src/linux-swk.C >--- dyninst/stackwalk/src/linux-swk.C.orig 2013-06-18 11:34:02.000000000 -0400 >+++ dyninst/stackwalk/src/linux-swk.C 2013-08-05 12:16:35.175000000 -0400 >@@ -73,7 +73,6 @@ using namespace Dyninst::Stackwalker; > // if porting to some linux-like platform that doesn't support > // them. > #include <sys/ptrace.h> >-#include <linux/ptrace.h> > typedef enum __ptrace_request pt_req; > #define cap_ptrace_traceclone > #define cap_ptrace_setoptions
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 991889
: 782935