-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
31e713a
commit 03e0297
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
source ../gdb/functions.gdb | ||
|
||
delete breakpoints | ||
chain tests/unicode_test.cpp:6943 | ||
chain tests/unicode_fuzz.hpp:29 | ||
chain webpp/unicode/normalization.hpp:697 | ||
chain webpp/unicode/normalization.hpp:442 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
set $bpstart = $bpnum ? $bpnum : 0 | ||
set breakpoint pending on | ||
|
||
define chain | ||
break $arg0 | ||
|
||
set $distance = $bpnum - $bpstart | ||
|
||
commands $bpnum | ||
set $nextbp = $_hit_bpnum + 1 | ||
set $chain_num = $_hit_bpnum - $bpstart | ||
printf "\nWe're at breakpoint number %d of the chain\n", $chain_num | ||
printf "Enabling breakpoint: %d\n\n", $nextbp | ||
enable once $nextbp | ||
end | ||
|
||
# don't disable the first one | ||
if $distance > 1 | ||
printf "Distabling: %d\n", $bpnum | ||
disable $bpnum | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters