This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc, gdbserver] Support hardware watchpoints on ARM
- From: Pedro Alves <pedro at codesourcery dot com>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, patches at linaro dot org
- Date: Wed, 21 Sep 2011 15:28:59 +0100
- Subject: Re: [rfc, gdbserver] Support hardware watchpoints on ARM
- References: <201109212126.p8LLQPEn014621@d06av02.portsmouth.uk.ibm.com>
On Wednesday 21 September 2011 15:26:30, Ulrich Weigand wrote:
> Pedro Alves wrote:
> > On Wednesday 21 September 2011 14:57:15, Ulrich Weigand wrote:
> > > Well, since this is global system property that is actually only
> > > queried once and then returned from a cache, adding a LWP argument
> > > would appear to be somewhat misleading ...
> >
> > We can always just document what the argument means :-) In this
> > case, it'd serve as currently stopped LWP to run ptrace on in case
> > the cache is not set yet.
>
> That still seems odd to me :-) I'd rather make the caching explicit,
> e.g. by retrieving the information once in arm_arch_setup and then
> just always using it.
Works for me. :-)
--
Pedro Alves