source: doc/theses/lynn_tran_SE499/SE499-master/utils-gdb.gdb @ 830edc6

Last change on this file since 830edc6 was 1b34b87, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

Lynn's GDB essay

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[1b34b87]1# 'server' keyword disables confirmation dialog when re-loading/re-defining
2# 'reset' restores the registers to the stack values at breakpoint to allow the movement commands to work correctly
3server define hook-continue
4reset
5end
6
7server define hook-next
8reset
9end
10
11server define hook-nexti
12reset
13end
14
15server define hook-step
16reset
17end
18
19server define hook-stepi
20reset
21end
22
23server define hook-finish
24reset
25end
26
27server define hook-advance
28reset
29end
30
31server define hook-jump
32reset
33end
34
35server define hook-signal
36reset
37end
38
39server define hook-until
40reset
41end
42
43server define hook-reverse-next
44reset
45end
46
47server define hook-reverse-step
48reset
49end
50
51server define hook-reverse-stepi
52reset
53end
54
55server define hook-reverse-continue
56reset
57end
58
59server define hook-reverse-finish
60reset
61end
62
63server define hook-run
64reset
65end
66
67server define hookpost-run
68# After recompile and 'run', the python global variables are lost, so the python macros must be reloaded.
69# However, this reloads the macros even when there has not been a recompile, but it is very fast.
70source utils-gdb.py
71end
72
73server define hook-thread
74reset
75end
Note: See TracBrowser for help on using the repository browser.