[chbot] ARM debugging

Charles Manning cdhmanning at gmail.com
Fri Oct 19 03:58:24 BST 2018

I think it could depend on various things such as the CPU and the debugger.

In 30+ years I have never used them.

You can achieve something similar with gdb macros. Something along the
lines of:

while 1
   watch banana.peel
  if banana.peel == 0 then break
end while

but of course written in the write syntax :-).

On Thu, Oct 18, 2018 at 3:13 PM Robin Gilks <robin at gilks.org> wrote:

> Knowing that several members of the group have experience of ARM
> processors, I thought I'd pose this question.
> I'm trying to use a conditional watchpoint - Eclipse syntax is not
> transparent so I'm going directly from the GDB console (arm-none-eabi-gdb
> version with the following command line
>    watch banana.peel if banana.peel != 0
> but the condition gets ignored (i.e. breaks on all values written to
> banana.peel).
> Are conditions actually supported on arm gdb?
> --
> Robin Gilks
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Meetings usually 3rd Monday each month. See http://kiwibots.org for
> venue, directions and dates.
> When replying, please edit your Subject line to reflect new subjects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/chchrobotics/attachments/20181019/31278ca2/attachment-0001.html>

More information about the Chchrobotics mailing list