This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH] IA-64 hardware watchpoint support
- To: kevinb at cygnus dot com
- Subject: Re: [PATCH] IA-64 hardware watchpoint support
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Thu, 13 Apr 2000 05:51:07 -0400 (EDT)
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <1000413022555.ZM584@ocotillo.lan>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> +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?