This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
ptrace and debug register?
- From: "Schneider, Jan (GE51)" <Jan dot Schneider at honeywell dot com>
- To: gdb at sources dot redhat dot com
- Date: Tue, 2 Nov 2004 08:46:01 -0700
- Subject: ptrace and debug register?
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?
jan