Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(21)

Delta Between Two Patch Sets: Misc/gdbinit

Issue 15550: Trailing white spaces
Left Patch Set: Created 7 years, 6 months ago
Right Patch Set: Created 7 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « Mac/README ('k') | Misc/HISTORY » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 # If you use the GNU debugger gdb to debug the Python C runtime, you 1 # If you use the GNU debugger gdb to debug the Python C runtime, you
2 # might find some of the following commands useful. Copy this to your 2 # might find some of the following commands useful. Copy this to your
3 # ~/.gdbinit file and it'll get loaded into gdb automatically when you 3 # ~/.gdbinit file and it'll get loaded into gdb automatically when you
4 # start it up. Then, at the gdb prompt you can do things like: 4 # start it up. Then, at the gdb prompt you can do things like:
5 # 5 #
6 # (gdb) pyo apyobjectptr 6 # (gdb) pyo apyobjectptr
7 # <module 'foobar' (built-in)> 7 # <module 'foobar' (built-in)>
8 # refcounts: 1 8 # refcounts: 1
9 # address : 84a7a2c 9 # address : 84a7a2c
10 # $1 = void 10 # $1 = void
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 if $pc > PyEval_EvalFrameEx && $pc < PyEval_EvalCodeEx 143 if $pc > PyEval_EvalFrameEx && $pc < PyEval_EvalCodeEx
144 pyframev 144 pyframev
145 end 145 end
146 up-silently 1 146 up-silently 1
147 end 147 end
148 select-frame 0 148 select-frame 0
149 end 149 end
150 150
151 # generally useful macro to print a Unicode string 151 # generally useful macro to print a Unicode string
152 def pu 152 def pu
153 set $uni = $arg0 153 set $uni = $arg0
154 set $i = 0 154 set $i = 0
155 while (*$uni && $i++<100) 155 while (*$uni && $i++<100)
156 if (*$uni < 0x80) 156 if (*$uni < 0x80)
157 print *(char*)$uni++ 157 print *(char*)$uni++
158 else 158 else
159 print /x *(short*)$uni++ 159 print /x *(short*)$uni++
160 end 160 end
161 end 161 end
162 end 162 end
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+