This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/RFC] riscv: expect hardware watchpoints to trigger before the memory is written
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Andrew Burgess <andrew dot burgess at embecosm dot com>, Tim Newsome <tim at sifive dot com>, Craig Blackmore <craig dot blackmore at embecosm dot com>
- Date: Mon, 24 Sep 2018 14:46:46 -0700
- Subject: Re: [RFA/RFC] riscv: expect hardware watchpoints to trigger before the memory is written
- References: <20180924214228.14578-1-brobecker@adacore.com>
> gdb/ChangeLog:
>
> * riscv-tdep.c (riscv_gdbarch_init): Set the gdbarch's
> have_nonsteppable_watchpoint attribute to 1.
>
> Tested on riscv64-elf using AdaCore's testsuite.
Gah! I missed the fact that someone was already on it
(https://www.sourceware.org/ml/gdb-patches/2018-09/msg00801.html).
That patch implements a more general solution, so I am withdrawing
my patch.
--
Joel