Home | History | Annotate | Download | only in gdb

Lines Matching refs:gdb

29 """GDB support for WebKit types.
31 Add this to your gdb by amending your ~/.gdbinit as follows:
34 sys.path.insert(0, "/path/to/tools/gdb/")
38 import gdb
46 ptr and length are both gdb.Value objects.
59 extra = u' (gdb hit inaccessible memory)'
63 extra = u' (gdb found no trailing NUL)'
193 Example gdb session should look like:
194 (gdb) p v
196 (gdb) set print elements 3
197 (gdb) p v
199 (gdb) set print array
200 (gdb) p v
207 (gdb) set print elements 200
208 (gdb) p v
266 """Function used to load pretty printers; will be passed to GDB."""
268 if type.code == gdb.TYPE_CODE_REF:
277 if type.code == gdb.TYPE_CODE_PTR:
283 gdb.pretty_printers.append(lookup_function)
289 class PrintPathToRootCommand(gdb.Command):
296 gdb.COMMAND_SUPPORT,
297 gdb.COMPLETE_NONE)
300 element_type = gdb.lookup_type('WebCore::Element')
301 node_type = gdb.lookup_type('WebCore::Node')
302 frame = gdb.selected_frame()
304 val = gdb.Frame.read_var(frame, arg)