This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
hardware watchpoints for ppc
- From: Wolfgang Schmieder <wolfgang dot schmieder at onlinehome dot de>
- To: gdb at sources dot redhat dot com
- Date: Sun, 4 Jul 2004 11:03:55 +0200
- Subject: hardware watchpoints for ppc
- Organization: privat
Hello,
is there anybody who knows how I can set hardware watchpoints on ppc boards ?
I have a mpc855 board running a multithreaded application. It appears that
one thread (always the same thread) has a corrupted stack (always at the same
address). I guess I need to set a hardware watchpoint in a remote debugging
session to find the piece of code which is corrupting the stack.
There is one gdb mailing list thread about "supporting hw break/watch for
embedded ppc", which makes me think that there is at least a patch or
workaround available to set hardware watchpoints on a ppc board.
Thanks,
Wolfgang