This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: x86_64 target - multiarch
- To: Mark Kettenis <kettenis at science dot uva dot nl>
- Subject: Re: [RFA]: x86_64 target - multiarch
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Thu, 6 Sep 2001 10:31:11 +0300 (IDT)
- cc: Jiri Smid <smid at suse dot cz>, gdb-patches at sources dot redhat dot com
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 ;-)