[lkml]   [2011]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch v3 19/36] Hexagon: Add ptrace support
On Fri, Sep 09, 2011 at 10:15:20PM +0200, Jonas Bonn wrote:
> That said, I don't think gdbserver has been updated to use
> GETREGSET/SETREGSET. This is a bit like the uClibc/glibc issue,

Some dumb questions then: I notice that a few arches declare
struct user_regs_struct in glibc, most of the others in the
kernel. If I were to make pt_regs completely kernel-private,
then I really do need to have struct user_regs_struct declared
the kernel headers, right?

Putting a printk into case PTRACE_POKEUSR seemed to show that
gdb was using this (and was somehow mis-numbering the registers
... sigh.) Are you saying that the default should handle this?


Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

 \ /
  Last update: 2011-09-09 23:21    [W:0.088 / U:3.844 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site