Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Using hardware watchpoint for applications debugging
@ 2006-03-29 13:47 colin
  2006-03-29 13:47 ` colin
  2006-03-29 14:08 ` Nigel Stephens
  0 siblings, 2 replies; 12+ messages in thread
From: colin @ 2006-03-29 13:47 UTC (permalink / raw)
  To: linux-mips


Hi all,
Our applications encounter memory crash very often. Thus we would like to
use hardware watchpoint on our platform, MIPS 4KEc.
After starting to design it, more and more issues emerge. They are listed
below:
    1. WatchLo Register only has 29 bits to indicate the VAddr. Therefore,
it will also trigger exceptions when accessing nearby addresses.
    2. When an exception happens and we find that it's not touching the righ
address, we will discard it. However, exception will happen again because
the former instruction will be re-executed when the exception is finished.

Is there any easy way to solve these problems?

Regards,
Colin

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-03-30 18:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-29 13:47 Using hardware watchpoint for applications debugging colin
2006-03-29 13:47 ` colin
2006-03-29 14:08 ` Nigel Stephens
2006-03-29 14:32   ` Kevin D. Kissell
2006-03-29 14:32     ` Kevin D. Kissell
2006-03-30  2:19     ` colin
2006-03-30  2:19       ` colin
2006-03-30  2:15   ` colin
2006-03-30  2:15     ` colin
2006-03-30 10:49     ` Nigel Stephens
2006-03-30 18:37       ` Ralf Baechle
2006-03-30 18:57       ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox