Joel Sherrill created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5556



## Summary

GDB can compile expressions into byte code and pass it to the target. 
libdebugger should support these.

For example, this is used in conditional breakpoints. The 
[documentation](https://sourceware.org/gdb/current/onlinedocs/gdb.html/Agent-Expressions.html)
 describes it along with the rationale for its existence.

There is an implementation in the GDB source (gdb/gdbserver/ax.c) which is 
unfortunately GPL and cannot be used with RTEMS. 

I came across an implementation in Rust while initially researching this but am 
not finding it again. If someone locates this or other implementations, please 
update.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5556
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to