Home | History | Annotate | Download | only in gdb

Lines Matching refs:gdb

5 """GDB support for Chrome types.
7 Add this to your gdb by amending your ~/.gdbinit as follows:
10 sys.path.insert(0, "/path/to/tools/gdb/")
14 This module relies on the WebKit gdb module already existing in
18 (gdb) p /r any_variable
23 import gdb
24 import gdb.printing
28 # (gdb) python del sys.modules['gdb_chrome']
29 # (gdb) python import gdb_chrome
34 pp_set = gdb.printing.RegexpCollectionPrettyPrinter("chromium")
40 By default, gdb would print just the address, which takes more
44 # makes it easier to cut+paste inside of gdb.
62 yield (field.name, val.cast(gdb.lookup_type(field.name)))
143 return gdb.Value(0).cast(self.val['ptr_'].type)
182 except gdb.error:
207 timet_offset = gdb.parse_and_eval(
224 gdb.lookup_type('IPC::Message::Header').pointer())
230 (message_type >> 16).cast(gdb.lookup_type('IPCMessageStart')),
258 except gdb.error:
300 except gdb.error:
328 gdb.printing.register_pretty_printer(gdb, pp_set, replace=_DEBUGGING)