Re: GDB and gdbserver for CR16 target

Yao Qi
2011-12-13T13:17:06Z

On 12/13/2011 08:56 PM, Kaushik Phatak wrote:
> I have changed #include <sys/ptrace.h> to #include <linux/ptrace.h> which contains
> defines for ptrace system calls.

I don't understand why do you have to change <sys/ptrace.h> to
<linux/ptrace.h>?

PTRACE_PEEKUSER is defined in <sys/ptrace.h>.

--
Yao (é½å°§)