* Watchpoints not being handled correctly on arm it seems
@ 2023-11-08 16:58 François Legal
2023-11-09 11:22 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: François Legal @ 2023-11-08 16:58 UTC (permalink / raw)
To: xenomai
Hello,
Working with xenomai 3.2.3 with linux 5.4 on Zynq7000.
While debugging my application, with GDB, if a watchpoint hits when in a xenomai RT thread, the machine hangs.
If I connect the JTAG probe, I get core 1 halted with message "Synchronous Watchpoint", with PC being on the instruction that should have trigged the watchpoint. From that point, I can never get GDB or the app to continue. I can (using the JTAG debugger) hit continue, but it seems the app stays hung (even kill -9 does not terminate it and I have to reboot the target.
Can anybody help ?
Thanks in advance
François
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Watchpoints not being handled correctly on arm it seems
2023-11-08 16:58 Watchpoints not being handled correctly on arm it seems François Legal
@ 2023-11-09 11:22 ` Jan Kiszka
2023-11-09 14:38 ` François Legal
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2023-11-09 11:22 UTC (permalink / raw)
To: François Legal, xenomai
On 08.11.23 17:58, François Legal wrote:
> Hello,
>
> Working with xenomai 3.2.3 with linux 5.4 on Zynq7000.
>
> While debugging my application, with GDB, if a watchpoint hits when in a xenomai RT thread, the machine hangs.
> If I connect the JTAG probe, I get core 1 halted with message "Synchronous Watchpoint", with PC being on the instruction that should have trigged the watchpoint. From that point, I can never get GDB or the app to continue. I can (using the JTAG debugger) hit continue, but it seems the app stays hung (even kill -9 does not terminate it and I have to reboot the target.
>
> Can anybody help ?
Do you see the same issue with 5.10 or newer (Dovetail patch series), or
with 4.19 (SLTS-based I-pipe)?
Jan
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Watchpoints not being handled correctly on arm it seems
2023-11-09 11:22 ` Jan Kiszka
@ 2023-11-09 14:38 ` François Legal
0 siblings, 0 replies; 3+ messages in thread
From: François Legal @ 2023-11-09 14:38 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai
Le Jeudi, Novembre 09, 2023 12:22 CET, Jan Kiszka <jan.kiszka@siemens.com> a écrit:
> On 08.11.23 17:58, François Legal wrote:
> > Hello,
> >
> > Working with xenomai 3.2.3 with linux 5.4 on Zynq7000.
> >
> > While debugging my application, with GDB, if a watchpoint hits when in a xenomai RT thread, the machine hangs.
> > If I connect the JTAG probe, I get core 1 halted with message "Synchronous Watchpoint", with PC being on the instruction that should have trigged the watchpoint. From that point, I can never get GDB or the app to continue. I can (using the JTAG debugger) hit continue, but it seems the app stays hung (even kill -9 does not terminate it and I have to reboot the target.
> >
> > Can anybody help ?
>
> Do you see the same issue with 5.10 or newer (Dovetail patch series), or
> with 4.19 (SLTS-based I-pipe)?
>
I can't tell for 5.10 as I have some custom driver for custom hardware that I did not port to dovetail/evl yet. The same is true for 4.19 (which lacks features I need) and I'm not sure I can easily test that. It was OK in 4.4 though
François
> Jan
>
> --
> Siemens AG, Technology
> Linux Expert Center
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-09 14:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08 16:58 Watchpoints not being handled correctly on arm it seems François Legal
2023-11-09 11:22 ` Jan Kiszka
2023-11-09 14:38 ` François Legal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.