From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Mark Kettenis Cc: Jiri Smid , gdb-patches@sources.redhat.com Subject: Re: [RFA]: x86_64 target - multiarch Date: Thu, 06 Sep 2001 00:30:00 -0000 Message-id: References: X-SW-Source: 2001-09/msg00067.html On 6 Sep 2001, Mark Kettenis wrote: > Eli already pointed out that the you should try to use the generic > hardware watchpoint support in i386-nat.c instead of rolling your own > here. I don't think x86_64 can use i386-nat.c's implementation, unless i386-nat.c is extended to handle debug registers that can watch regions wider than 4 bytes. One thing that definitely needs to be changed is the size_try_array array, and some of the functions don't expect to see a region more than 4 bytes long. But even if x86_64 does not use i386-nat.c, they could roll a similar implementation, and thus support the same features. FWIW, NEWS already promises that all x86 targets support those features ;-)