source: trunk/source/lisp-kernel/linuxx8632/.gdbinit

Last change on this file was 10792, checked in by gb, 11 years ago

Like the darwin verion, but ignore more signals.

File size: 674 bytes
Line 
1define pl
2  call print_lisp_object($arg0)
3end
4
5define showlist
6  set $l=$arg0
7  while $l != 0x3001
8   set $car = *((LispObj *)($l+3))
9   set $l =  *((LispObj *)($l-1))
10   pl $car
11  end
12end
13
14
15define fn
16  pl $edi
17end
18
19define arg_y
20 pl $esi
21end
22
23define arg_z
24 pl $ebx
25end
26
27define offset
28 p (int)$pc-$edi
29end
30
31
32break Bug
33
34display/i $pc
35
36handle SIGKILL pass nostop noprint
37handle SIGILL pass nostop noprint
38handle SIGSEGV pass nostop noprint
39handle SIGBUS pass nostop noprint
40handle SIGFPE pass nostop noprint
41handle SIG40 pass nostop noprint
42handle SIG41 pass nostop noprint
43handle SIG42 pass nostop noprint
44handle SIGPWR pass nostop noprint
45handle SIGQUIT pass nostop noprint
46
Note: See TracBrowser for help on using the repository browser.