Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 18:31:09 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-hackers@freebsd.org
Subject:   kernel remote debugging help
Message-ID:  <Pine.SOL.4.21.0111061824480.24900-100000@onyx>

next in thread | raw e-mail | index | archive | help

I am remote debugging a KLD and I want to trace down the point when the
data in a certain memory address is modified. How to do this? Does the
hardware watchpoint work over remote debugging?  If the address is
0xabcd1234, how to use the watch command?

(gdb) watch 0xabcd1234

or

(gdb) watch * 0xabcd1234

Thanks!

-Zhihui


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0111061824480.24900-100000>