Last change
on this file since 4db0140 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
|
Line | |
---|
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 |
---|
3 | server define hook-continue |
---|
4 | reset |
---|
5 | end |
---|
6 | |
---|
7 | server define hook-next |
---|
8 | reset |
---|
9 | end |
---|
10 | |
---|
11 | server define hook-nexti |
---|
12 | reset |
---|
13 | end |
---|
14 | |
---|
15 | server define hook-step |
---|
16 | reset |
---|
17 | end |
---|
18 | |
---|
19 | server define hook-stepi |
---|
20 | reset |
---|
21 | end |
---|
22 | |
---|
23 | server define hook-finish |
---|
24 | reset |
---|
25 | end |
---|
26 | |
---|
27 | server define hook-advance |
---|
28 | reset |
---|
29 | end |
---|
30 | |
---|
31 | server define hook-jump |
---|
32 | reset |
---|
33 | end |
---|
34 | |
---|
35 | server define hook-signal |
---|
36 | reset |
---|
37 | end |
---|
38 | |
---|
39 | server define hook-until |
---|
40 | reset |
---|
41 | end |
---|
42 | |
---|
43 | server define hook-reverse-next |
---|
44 | reset |
---|
45 | end |
---|
46 | |
---|
47 | server define hook-reverse-step |
---|
48 | reset |
---|
49 | end |
---|
50 | |
---|
51 | server define hook-reverse-stepi |
---|
52 | reset |
---|
53 | end |
---|
54 | |
---|
55 | server define hook-reverse-continue |
---|
56 | reset |
---|
57 | end |
---|
58 | |
---|
59 | server define hook-reverse-finish |
---|
60 | reset |
---|
61 | end |
---|
62 | |
---|
63 | server define hook-run |
---|
64 | reset |
---|
65 | end |
---|
66 | |
---|
67 | server 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. |
---|
70 | source utils-gdb.py |
---|
71 | end |
---|
72 | |
---|
73 | server define hook-thread |
---|
74 | reset |
---|
75 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.