Date: Tue, 6 Nov 2001 16:41:00 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: kernel remote debugging help Message-ID: <Pine.BSF.4.21.0111061638120.68199-100000@InterJet.elischer.org> In-Reply-To: <Pine.SOL.4.21.0111061824480.24900-100000@onyx>
next in thread | previous in thread | raw e-mail | index | archive | help
hardware watch points work in ddb so: whe you know the address, switch to ddb (gdb) det and then use: hwatch 0xabcd1234 cont *watchpoint hits* remove watch point > gdb Next fault will switch to gdb > s [switches back to GDB] julian On Tue, 6 Nov 2001, Zhihui Zhang wrote: > > 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 > 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.BSF.4.21.0111061638120.68199-100000>