This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA]: x86_64 target - multiarch



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 ;-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]