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

Breakpoint added before starting debugging does not work when using lldb to connect to a gdbserver #611

Open
xusheng6 opened this issue Sep 2, 2024 · 1 comment

Comments

@xusheng6
Copy link
Member

xusheng6 commented Sep 2, 2024

Repro steps:

  1. Download https://crackmes.one/crackme/66b5fa2c90c4c2830c821d0a to a Linux machine
  2. Run gdbserver 0.0.0.0:31337 -- ./crackme666adv
  3. Open the file in bina (on macOS)
  4. Put a breakpoint somewhere in main function
  5. Debugger - Connect to remote process
  6. Input the IP address and connect to it
  7. Run the target until it breaks at the entry point
  8. Resume the target and notice it runs on its own rather than breaking at the breakpoint
@xusheng6
Copy link
Member Author

xusheng6 commented Sep 2, 2024

Combined with #610 I think it is very challenging to use lldb to connect to a gdbserver, we still need to have first-party GDB support as in #170 to make it even usable

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

No branches or pull requests

1 participant