Searched defs:gdb (Results 1 - 7 of 7) sorted by relevance

/external/eigen/debug/gdb/
H A Dprinters.py12 # This is still pretty basic as the python extension to gdb is still pretty basic.
29 import gdb namespace
43 # The gdb extension does not support value template arguments - need to extract them by hand
45 if type.code == gdb.TYPE_CODE_REF:
76 if self.data.type.code == gdb.TYPE_CODE_STRUCT:
134 # The gdb extension does not support value template arguments - need to extract them by hand
136 if type.code == gdb.TYPE_CODE_REF:
183 obj = gdb
191 if type.code == gdb.TYPE_CODE_REF:
/external/chromium_org/third_party/cython/src/Cython/Debugger/Tests/
H A Dtest_libpython_in_gdb.py5 Lib/test/test_gdb.py in the Python source. These tests are run in gdb and
12 import gdb namespace
38 value = gdb.parse_and_eval(code)
45 gdb.execute('set $%(varname)s = %(code)s' % d)
107 assert gdb.parse_and_eval('$longval->ob_type == &PyLong_Type')
H A Dtest_libcython_in_gdb.py22 import gdb namespace
28 # for some reason sys.argv is missing in gdb
29 sys.argv = ['gdb']
72 result = gdb.parse_and_eval('$cy_cvalue("%s")' % varname)
79 return gdb.execute('info locals', to_string=True)
84 frame = gdb.selected_frame()
89 gdb.execute('cy break codefile:%d' % break_lineno, to_string=True)
90 gdb.execute('run', to_string=True)
93 gdb.execute('delete breakpoints', to_string=True)
95 gdb
[all...]
/external/chromium_org/third_party/WebKit/Tools/gdb/
H A Dwebkit.py31 Add this to your gdb by amending your ~/.gdbinit as follows:
34 sys.path.insert(0, "/path/to/tools/gdb/")
40 import gdb namespace
56 return i, ' (gdb hit inaccessible memory)'
57 return 256, ' (gdb found no trailing NUL)'
63 ptr and length are both gdb.Value objects.
78 ptr and length are both gdb.Value objects.
120 data = self.val['m_buffer']['m_ptr']['m_data'].cast(gdb.lookup_type('char').pointer())
133 return lstring_to_string(chars_start.cast(gdb.lookup_type('char').pointer()),
135 return ustring_to_string(chars_start.cast(gdb
[all...]
/external/chromium_org/tools/gdb/
H A Dgdb_chrome.py7 Add this to your gdb by amending your ~/.gdbinit as follows:
10 sys.path.insert(0, "/path/to/tools/gdb/")
15 (gdb) p /r any_variable
20 import gdb namespace
21 import gdb.printing namespace
27 '..', '..', 'third_party', 'WebKit', 'Tools', 'gdb'))
34 # (gdb) python del sys.modules['gdb_chrome']
35 # (gdb) python import gdb_chrome
40 pp_set = gdb.printing.RegexpCollectionPrettyPrinter("chromium")
46 By default, gdb woul
[all...]
/external/chromium_org/third_party/cython/src/Cython/Debugger/
H A Dlibcython.py14 import gdb namespace
43 if hasattr(gdb, 'string_to_argv'):
44 from gdb import string_to_argv
76 frame = frame or gdb.selected_frame()
78 raise gdb.GdbError("No frame is currently selected.")
91 frame = kwargs.get('frame') or gdb.selected_frame()
93 raise gdb.GdbError('Selected frame does not correspond with a '
108 gdb.execute(python_command)
110 gdb.execute(c_command)
112 raise gdb
[all...]
H A Dlibpython.py4 # It can be found under Tools/gdb/libpython.py. It is shipped with Cython
9 From gdb 7 onwards, gdb's build can be configured --with-python, allowing gdb
12 http://sourceware.org/gdb/current/onlinedocs/gdb/Python-API.html
16 "inferior process" in gdb parlance) is itself python, or more specifically,
25 In particular, given a gdb.Value corresponding to a PyObject* in the inferior
26 process, we can generate a "proxy value" within the gdb process. For example,
29 generate a proxy value within the gdb proces
61 import gdb namespace
[all...]

Completed in 1029 milliseconds