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

apps are slower when launched with --debug #31

Open
greenknot opened this issue Mar 2, 2020 · 1 comment
Open

apps are slower when launched with --debug #31

greenknot opened this issue Mar 2, 2020 · 1 comment

Comments

@greenknot
Copy link
Contributor

It prevents some bugs from being investigated because it leads to timeouts. Wild guess: qemu is slower when executed with -g?

@greenknot
Copy link
Contributor Author

According to strace, SIGILL is catched each time a syscall instruction (replaced by an undefined instruction) is executed. The gdb stub forwards this information to the gdb client (even if instructed to ignore it thanks to handle SIGILL nostop pass noprint) and that slows down its execution.

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