forked from bcd/freewpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gdbmacros
45 lines (45 loc) · 1.13 KB
/
gdbmacros
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This file contains macros for running the native
# build of FreeWPC under gdb. You can use any of
# the 'show' commands defined below to dump game
# information.
#---------------------------------------------------
break gdb_break
#---------------------------------------------------
define show-game
printf "Player : %d of %d\n", player_up, num_players
printf "Ball : %d\n", ball_up
printf "Score: "
x/5b current_score
end
document show-game
Displays status of the game in progress
end
#---------------------------------------------------
define show-adj
p/d system_config
p/d feature_config
p/d price_config
p/d hstd_config
end
document show-adj
Displays the current adjustments in effect
end
#---------------------------------------------------
define show-tasks
p task_data_table
end
document show-tasks
Displays the task table
end
#---------------------------------------------------
define show-effects
printf "Display effect: %d\n", deff_runqueue->id
end
document show-effects
Displays which effects are currently running
end
#---------------------------------------------------
define resume-init
set var sim_debug_init=0
c
end