This is the mail archive of the gdb-patches@sourceware.cygnus.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: [PATCH] IA-64 hardware watchpoint support



> +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?

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