Hello Ulrich,
I'm on a freescale mx53 (single core, cortex a8) and trying to find a nasty problem in our $CUSTOMER's application. Working hardware watch point support in gdb should solve the problem, or at least brings us a big step forward. I stumbled over your about three years old thread[1] about the cortex a8 memory mapped debug registers problem. Do I understand correctly, that you had a8 watch point running on at least one board? Have you got any code and or pointers to get watch point support running?
regards, Marc Kleine-Budde
[1] http://lists.linaro.org/pipermail/linaro-toolchain/2011-February/000820.html
Marc Kleine-Budde mkl@pengutronix.de wrote on 04.02.2014 00:59:12:
I'm on a freescale mx53 (single core, cortex a8) and trying to find a nasty problem in our $CUSTOMER's application. Working hardware watch point support in gdb should solve the problem, or at least brings us a big step forward. I stumbled over your about three years old thread[1] about the cortex a8 memory mapped debug registers problem. Do I understand correctly, that you had a8 watch point running on at least one board? Have you got any code and or pointers to get watch point support running?
Hello Marc,
no, I only ever had it running on a Cortex-A9 based Versatile Express.
My understanding is that kernel has never supported hardware watch points on Cortex-A8, so unless this has been added at some point over the last three years (I haven't been working with Linaro/ARM for a while ...), it probably still doesn't work.
Bye, Ulrich
On 02/04/2014 02:49 PM, Ulrich Weigand wrote:
Marc Kleine-Budde mkl@pengutronix.de wrote on 04.02.2014 00:59:12:
I'm on a freescale mx53 (single core, cortex a8) and trying to find a nasty problem in our $CUSTOMER's application. Working hardware watch point support in gdb should solve the problem, or at least brings us a big step forward. I stumbled over your about three years old thread[1] about the cortex a8 memory mapped debug registers problem. Do I understand correctly, that you had a8 watch point running on at least one board? Have you got any code and or pointers to get watch point support running?
no, I only ever had it running on a Cortex-A9 based Versatile Express.
My understanding is that kernel has never supported hardware watch points on Cortex-A8, so unless this has been added at some point over the last three years (I haven't been working with Linaro/ARM for a while ...), it probably still doesn't work.
Thanks for the clarification.
For the record: openocd works pretty well to set hardware watch points on the mx53 And I debugged the problem using the external JTAG.
Marc
On 5 February 2014 19:24, Marc Kleine-Budde mkl@pengutronix.de wrote:
On 02/04/2014 02:49 PM, Ulrich Weigand wrote:
Marc Kleine-Budde mkl@pengutronix.de wrote on 04.02.2014 00:59:12:
I'm on a freescale mx53 (single core, cortex a8) and trying to find a nasty problem in our $CUSTOMER's application. Working hardware watch point support in gdb should solve the problem, or at least brings us a big step forward. I stumbled over your about three years old thread[1] about the cortex a8 memory mapped debug registers problem. Do I understand correctly, that you had a8 watch point running on at least one board? Have you got any code and or pointers to get watch point support running?
no, I only ever had it running on a Cortex-A9 based Versatile Express.
My understanding is that kernel has never supported hardware watch points on Cortex-A8, so unless this has been added at some point over the last three years (I haven't been working with Linaro/ARM for a while ...), it probably still doesn't work.
Thanks for the clarification.
For the record: openocd works pretty well to set hardware watch points on the mx53 And I debugged the problem using the external JTAG.
Marc
-- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Hi
I have tested watchpoint support on Cortex A15 and A9 in last year or so and it seems to work fine.
I am not sure if any specific improvements for Cortex A8 have been done or not.
Thanks!
-- Omair
linaro-toolchain@lists.linaro.org