Home
last modified time | relevance | path

Searched refs:gdb_python_module (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/external/gpl3/gdb/dist/gdb/python/
Dpython.c88 PyObject *gdb_python_module; variable
1200 if (gdb_python_module in gdbpy_before_prompt_hook()
1201 && PyObject_HasAttrString (gdb_python_module, "prompt_hook")) in gdbpy_before_prompt_hook()
1203 gdbpy_ref<> hook (PyObject_GetAttrString (gdb_python_module, in gdbpy_before_prompt_hook()
1772 if (!gdb_python_initialized || gdb_python_module == nullptr) in gdbpy_handle_missing_debuginfo()
1789 (PyObject_GetAttrString (gdb_python_module, "_handle_missing_debuginfo")); in gdbpy_handle_missing_debuginfo()
2592 gdb_python_module = PyImport_ImportModule ("gdb"); in do_initialize()
2593 if (gdb_python_module == NULL) in do_initialize()
2608 return gdb_pymodule_addobject (m, "gdb", gdb_python_module) >= 0; in do_initialize()
Dpy-xmethods.c192 if (gdb_python_module != NULL in gdbpy_get_matching_xmethod_workers()
193 && PyObject_HasAttrString (gdb_python_module, matchers_attr_str)) in gdbpy_get_matching_xmethod_workers()
195 gdbpy_ref<> gdb_matchers (PyObject_GetAttrString (gdb_python_module, in gdbpy_get_matching_xmethod_workers()
Dpy-prettyprint.c152 if (gdb_python_module == NULL in find_pretty_printer_from_gdb()
153 || ! PyObject_HasAttrString (gdb_python_module, "pretty_printers")) in find_pretty_printer_from_gdb()
155 gdbpy_ref<> pp_list (PyObject_GetAttrString (gdb_python_module, in find_pretty_printer_from_gdb()
Dpy-unwind.c854 if (gdb_python_module == NULL in pyuw_sniffer()
855 || ! PyObject_HasAttrString (gdb_python_module, "_execute_unwinders")) in pyuw_sniffer()
863 gdbpy_ref<> pyo_execute (PyObject_GetAttrString (gdb_python_module, in pyuw_sniffer()
Dpython-internal.h279 extern PyObject *gdb_python_module;
/netbsd/src/external/gpl3/gdb/dist/gdb/
DChangeLog-20123034 gdb_python_module and not gdb_module.
3035 * python/python-internal.h (gdb_python_module): Declare.
3036 * python/python.c (gdb_python_module): New global.
3037 (before_prompt_hook): Check gdb_python_module and not gdb_module.
/netbsd/src/external/gpl3/binutils/dist/
DChangeLog.git14695 Check gdb_python_module in gdbpy_handle_missing_debuginfo
14698 gdbpy_handle_missing_debuginfo unconditionally uses gdb_python_module.
14700 Other code in gdb using gdb_python_module checks it first and it