Skip to content

Commit

Permalink
Escape the quotes in gdb command
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzm committed Nov 15, 2022
1 parent 9f9751e commit 28a4310
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux-build-and-test.yaml
Expand Up @@ -196,9 +196,9 @@ jobs:
sudo coredumpctl gdb <<<"
set verbose on
show debug-file-directory
printf "query = '%s'\n\n", debug_query_string
printf "'"'"query = '%s'\n\n"'"'", debug_query_string
frame function ExceptionalCondition
printf "condition = '%s'\n", conditionName
printf "'"'"condition = '%s'\n"'"'", conditionName
bt full
" | tee stacktrace.log
./scripts/bundle_coredumps.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sanitizer-build-and-test.yaml
Expand Up @@ -163,9 +163,9 @@ jobs:
sudo coredumpctl gdb <<<"
set verbose on
show debug-file-directory
printf "query = '%s'\n\n", debug_query_string
printf "'"'"query = '%s'\n\n"'"'", debug_query_string
frame function ExceptionalCondition
printf "condition = '%s'\n", conditionName
printf "'"'"condition = '%s'\n"'"'", conditionName
bt full
" | tee stacktrace.log
./scripts/bundle_coredumps.sh
Expand Down

0 comments on commit 28a4310

Please sign in to comment.