News for hackers. Stuff that matters.
Re:UndoDB – The interactive time travel debugger for Linux C... by drawnwren on Saturday May 24, 2025 @09:48AM (#44081112)
if you could get this working on embedded arm cpus, I think you'd be surprised how many customers there would be.
Re:UndoDB – The interactive time travel debugger for Linux C... by mark_undoio on Saturday May 24, 2025 @07:53PM (#44084516)
What's limiting us is that Undo does need a Linux kernel - so traditional embedded programming wouldn't be a fit. Embedded Linux could work and we do support ARM64.

I've thought I bit about how you might support time travel on bare metal embedded - but actually there are hardware-assisted solutions (Lauterbach's Trace32 was one we came across) there sometimes.

Re:UndoDB – The interactive time travel debugger for Linux C... by Veserv on Sunday May 25, 2025 @12:12AM (#44085465)
Time travel debugging on embedded ARM has been available for over 20 years via trace probes [1].

The category namer of time-travel debugging, TimeMachine, (hence time-travel debugging in contrast to other attempted names such as reversible, bidirectional, record-replay, etc.) was available in 2003 and supports the ARM7 [2]. Note, that is not ARMv7 architecture, that is the ARM7 chip [3] in use from 1993-2001.

From what I know, the ARM7 was one of the first ARM designs supporting the Embedded Trace Macrocell (ETM) which could output the instruction and data trace data needed to support trace probe-based time travel debugging.

[1] https://jakob.engbloms.se/archives/1564

[2] https://www.ghs.com/products/probe.html

[3] https://en.m.wikipedia.org/wiki/ARM7