Skip to content

Commit

Permalink
fix big cpp program with too many symbol
Browse files Browse the repository at this point in the history
Signed-off-by: mianhk <[email protected]>
  • Loading branch information
mianhk committed Jul 24, 2024
1 parent a05596d commit dc85316
Showing 1 changed file with 5 additions and 4 deletions.
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
"

0 comments on commit dc85316

Please sign in to comment.