mdb is cool

Just wanted to share a neat trick I just learned using mdb. Quite often you want to set a breakpoint in a hot code path and just want to stop when a certain value is passed in. The following is a way to do so: [0]> func+4::bp -c "
Comments:

Post a Comment:
Comments are closed for this entry.
About

mec

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
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
   
       
Today