Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
c489ff91
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c489ff91
编写于
12月 08, 2010
作者:
K
kevinw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7003789: PTRACE_GETREGS problems with SA on Linux.
Summary: ifdef definitions for PTRACE_GETREGS_REQ clarified Reviewed-by: dholmes
上级
335350a0
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
4 addition
and
6 deletion
+4
-6
agent/src/os/linux/ps_proc.c
agent/src/os/linux/ps_proc.c
+4
-6
未找到文件。
agent/src/os/linux/ps_proc.c
浏览文件 @
c489ff91
...
@@ -121,15 +121,13 @@ static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct use
...
@@ -121,15 +121,13 @@ static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct use
#define ptrace_getregs(request, pid, addr, data) ptrace(request, pid, data, addr)
#define ptrace_getregs(request, pid, addr, data) ptrace(request, pid, data, addr)
#endif
#endif
#ifdef _LP64
#if defined(_LP64) && defined(PTRACE_GETREGS64)
#ifdef PTRACE_GETREGS64
#define PTRACE_GETREGS_REQ PTRACE_GETREGS64
#define PTRACE_GETREGS_REQ PTRACE_GETREGS64
#endif
#elif defined(PTRACE_GETREGS)
#else
#if defined(PTRACE_GETREGS) || defined(PT_GETREGS)
#define PTRACE_GETREGS_REQ PTRACE_GETREGS
#define PTRACE_GETREGS_REQ PTRACE_GETREGS
#elif defined(PT_GETREGS)
#define PTRACE_GETREGS_REQ PT_GETREGS
#endif
#endif
#endif
/* _LP64 */
#ifdef PTRACE_GETREGS_REQ
#ifdef PTRACE_GETREGS_REQ
if
(
ptrace_getregs
(
PTRACE_GETREGS_REQ
,
pid
,
user
,
NULL
)
<
0
)
{
if
(
ptrace_getregs
(
PTRACE_GETREGS_REQ
,
pid
,
user
,
NULL
)
<
0
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录