Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a wrapper for GDB #20

Closed
3 of 5 tasks
sakhnik opened this issue Jul 12, 2018 · 1 comment
Closed
3 of 5 tasks

Implement a wrapper for GDB #20

sakhnik opened this issue Jul 12, 2018 · 1 comment
Assignees

Comments

@sakhnik
Copy link
Owner

sakhnik commented Jul 12, 2018

A tiny python proxy would open PTY to allow issuing server commands to GDB or LLDB outside stdin, and return result programmatically without stdout. Conveniently, GDB allows to bypass command history by prefixing commands with server.
Consider naming custom commands in a specific manner <start,end> for easier concealment.

  • How to bypass history in LLDB?
  • Is it possible to pass commands to LLDB without touching stdin/stdout?
  • Pass all the input to the underlying CLI app
  • Parse command output and cut off everything between x-nvim-gdb- and next GDB/LLDB prompt
  • Move debugger initialization commands to the wrapper
@sakhnik sakhnik self-assigned this Jul 12, 2018
@sakhnik sakhnik changed the title Implement a wrapper for GDB, LLDB Implement a wrapper for GDB Jul 29, 2018
@sakhnik
Copy link
Owner Author

sakhnik commented Jul 29, 2018

LLDB needs an ticket on its own

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant