[PATCH] IA-64 hardware watchpoint support

Eli Zaretskii eliz@delorie.com
Thu Apr 13 02:51:00 GMT 2000


> +int
> +ia64_linux_insert_watchpoint (int pid, CORE_ADDR addr, int len, int rw)
> +{
> +  int idx;
> +  long dbr_addr, dbr_mask;
> +  int max_watchpoints = 4;
> +
> +  if (len <= 0 || !is_power_of_2 (len))
> +    return -1;

Out of curiosity: does this mean that GDB for IA64 won't support
unaligned watchpoints at all?  Isn't it possible to do that with
multiple watchpoints, like go32-nat.c does?


More information about the Gdb-patches mailing list