You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GDB packet reference (https://sourceware.org/gdb/current/onlinedocs/gdb.html/Packets.html) states that the packet used for setting breakpoints sometimes passes in a condition list, which consists of bytecode expressions that should be evaluated before a breakpoint is reported back to GDB.
The current implementation does not support this and will disregard the condition list if it is sent.
Understanding how this works will require a little more experimentation (I have no idea how this could do anything useful without knowledge about the implementation of the remote stub), but if it is in the form of a function that returns true or false, one possibility might be to (at least in microkit) create a WX MR that is mapped into the debugger PD, write the expression to that and include a function pointer to this somewhere in the breakpoint metadata. Then, when the breakpoint is triggered, call this?
The text was updated successfully, but these errors were encountered:
The GDB packet reference (https://sourceware.org/gdb/current/onlinedocs/gdb.html/Packets.html) states that the packet used for setting breakpoints sometimes passes in a condition list, which consists of bytecode expressions that should be evaluated before a breakpoint is reported back to GDB.
The current implementation does not support this and will disregard the condition list if it is sent.
Understanding how this works will require a little more experimentation (I have no idea how this could do anything useful without knowledge about the implementation of the remote stub), but if it is in the form of a function that returns true or false, one possibility might be to (at least in microkit) create a WX MR that is mapped into the debugger PD, write the expression to that and include a function pointer to this somewhere in the breakpoint metadata. Then, when the breakpoint is triggered, call this?
The text was updated successfully, but these errors were encountered: