-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gdbinit
50 lines (39 loc) · 849 Bytes
/
.gdbinit
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
46
47
48
49
50
# (c) 1998,1999 Richard Zidlicky
# GDB init for UQLX
# on some systems SIGSEGV is the normal way of
# handling IO - no exception
handle SIGSEGV nostop noprint
# switch on/off 50 Hz timer alarm. Having it 'on' makes single
# stepping impossible but in some situations it must be enabled
# to let QDOS proceed
define ton
handle SIGALRM nostop noprint pass
end
define toff
handle SIGALRM nostop noprint nopass
end
# COMMAND 'qldbg', documented in docs/uqlx.texi
define qldbg
set exception=(32+14)
set extraFlag=1
set nInst2=nInst
set nInst=0
set doPoll=0
continue
end
# turn off timer when singlestepping etc
define hook-stop
toff
end
define hook-run
ton
break on_fat_int
break cleanup
end
define hook-continue
ton
end
### temporary hacks
define qr
run qm -s 'lrun "/home/rz/uqlx/stest"'
end