Skip to content

Modify our .gdbinit default file, to handle SIGUSR1. #140

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

Merged
merged 1 commit into from
Jun 18, 2025

Conversation

nikolaszimmermann
Copy link
Member

After attaching to WPEWebProcess, gdb would halt all the time at SIGUSR1. Make sure to set the SIGUSR1 handler to 'nostop' so it doesn't halt in gdb everytime it fires (JSC uses this for GC internally).

@nikolaszimmermann nikolaszimmermann force-pushed the nzimmermann/handle-sigusr1-in-gdbinit branch from d7323a6 to 781e72b Compare June 18, 2025 08:32
@nikolaszimmermann nikolaszimmermann enabled auto-merge (rebase) June 18, 2025 09:49
After attaching to WPEWebProcess, gdb would halt all the time at
SIGUSR1. Make sure to set the SIGUSR1 handler to 'nostop' so it doesn't
halt in gdb everytime it fires (JSC uses this for GC internally) and
'noprint' to avoid cluttering the output.
@nikolaszimmermann nikolaszimmermann force-pushed the nzimmermann/handle-sigusr1-in-gdbinit branch from 781e72b to c86d535 Compare June 18, 2025 21:52
@nikolaszimmermann nikolaszimmermann merged commit c9019bc into main Jun 18, 2025
2 checks passed
@nikolaszimmermann nikolaszimmermann deleted the nzimmermann/handle-sigusr1-in-gdbinit branch June 18, 2025 21:53
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

Successfully merging this pull request may close these issues.

2 participants