File: cmds-sample-1.gdb

package info (click to toggle)
freecell-solver 3.26.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,864 kB
  • ctags: 3,658
  • sloc: ansic: 34,721; perl: 12,320; xml: 5,999; python: 1,149; sh: 965; ruby: 347; cpp: 304; makefile: 151
file content (29 lines) | stat: -rw-r--r-- 816 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
set args -l gi -s -i -p -t 1941.board
b main
r
# Breakpoint 1
b scans.c:1336 if instance->num_times == 3151
c
# Now we're at main.
call fc_solve_state_as_string(ptr_state_with_locations_key, ptr_state_with_locations_val, 4, 8, 1, 1, 0, 1)
call strstr($ , ": 9D 6S 4D AH\n")
while ($ == 0)
    c
    call fc_solve_state_as_string(ptr_state_with_locations_key, ptr_state_with_locations_val, 4, 8, 1, 1, 0, 1)
    call strstr($ , ": 9D 6S 4D AH\n")
end
set breakpoint pending on
# b fc_solve_user_INTERNAL_find_fcc_start_points
b perform_FCC_brfs
set args scripts/Test-Find-FCC-Start-Points.pl 24m2.board
r
b 239
set $X = 0
set $FILE = fopen("log.txt", "wt")
while $X < 10
    c
    call fprintf($FILE, "<<<\n%s\n>>>\n", fc_solve_state_as_string (&state, 2, 8, 1, 1, 0, 1))
    set $X = $X + 1
end
call fclose($FILE)
q