Implement the simpler vRun packet and prefer it over the A packet.
Unlike the latter, it tranmits command-line arguments without redundant
indices and lengths.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Correct the vRun packet to return a stop reason rather than 'OK' to match GDB behavior. Add initial client tests.
Comment Actions
Handle unsupported qLaunchSuccess gracefully on the client. This effectively makes it possible to launch programs via gdbserver.
Enhance the client tests to verify that the process has actually 'started'.
Comment Actions
I like this. I am saddened to see that neither method supports setting a "fake" argv[0], but that's not a problem of this patch,,,
Comment Actions
While technically this patch doesn't depend on these two, applying them out of order would cause unnecessary rebase hell.