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

fix: Big cpp program with too many symbol #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix big cpp program with too many symbol
Signed-off-by: mianhk <gcyu25@gmail.com>
  • Loading branch information
mianhk committed Jul 24, 2024
commit dc853167e533c787627c6db1cdc1d9f25e2bb297
9 changes: 5 additions & 4 deletions script/shell_modify_variable_attach_parent.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#!/bin/bash

expect -c "
spawn gdb -q attach $1
set timeout 60000
spawn gdb -q -iex \"set pagination off\" attach $1
expect {
\"gdb\" {send \"set follow-fork-mode $2\n\";}
}
expect {
\"gdb\" {send \"set pagination off\n\";}
}
expect {
\"gdb\" {send \"$3\n\";}
}
Expand Down Expand Up @@ -35,6 +33,9 @@ expect -c "
expect {
\"gdb\" {send \"c\n\";}
}
expect {
\"exited\" {send \"quit\n\";}
}

interact
"