Skip to content

Commit 446fc69

Browse files
committed
Support sb (step back) in the gdbstub
However, LLDB does not have a stepback command so it can only be used by "process plugin packet send sb" or a plugin that adds such command.
1 parent e33cc3b commit 446fc69

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/be/ugent/topl/mio/GdbStub.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,10 @@ else if (pkt.startsWith("stackInfo")) {
302302
debugger.stepInto();
303303
sendStopPacket(out, "05");
304304
break;
305+
case "sb":
306+
debugger.stepBack(1, () -> null);
307+
sendStopPacket(out, "05");
308+
break;
305309
case "c":
306310
debugger.run();
307311
break;

0 commit comments

Comments
 (0)