This is the mail archive of the gdb@sources.redhat.com 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: ptrace and debug register?


Schneider, Jan (GE51) wrote:
gdb uses ptrace for accessing the x86 debug register?!. like in i386_linux_dr_set().
Can I use ptrace for a PPC architecture? There is no member u_debugreg in the struct user in sys/user.h
Is there something missing in my cross-compiler, or is there no way to use
ptrace?

For watchpoints? From memory the PPC Linux kernel lacks that interface.


Andrew


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