This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB and gdbserver for CR16 target


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]