Subject: Re: Watches busted in gdb/1.6?
To: None <port-i386@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: port-i386
Date: 04/19/2003 14:36:54
--=.D88kQcZQUpzHGe
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

seebs@plethora.net (Peter Seebach) wrote:

> So, I'm trying to debug a program where static data gets smashed...
> 
> Do watches work on 1.6 on i386?

AFAIK they work but gdb doesn't use the hardware debug features
on NetBSD. Thus, your program will run *very* slow. Maybe you
you should consider to utilize assert() or even mprotect().

-- 
Christian

--=.D88kQcZQUpzHGe
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE+oUL20KQix3oyIMcRAgJpAKC21+46CCyAi2guaZe0tXBtp/TslgCeNQRw
Y4pjqEk5O5mfdCvG5G/Gqv4=
=ifqK
-----END PGP SIGNATURE-----

--=.D88kQcZQUpzHGe--