GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include "extension-priv.h"
#include "objfiles.h"
#include "value.h"
#include "language.h"
#include "python.h"
#include "python-internal.h"
Go to the source code of this file.
Classes | |
struct | python_xmethod_worker |
Functions | |
static PyObject * | invoke_match_method (PyObject *matcher, PyObject *py_obj_type, const char *xmethod_name) |
enum ext_lang_rc | gdbpy_get_matching_xmethod_workers (const struct extension_language_defn *extlang, struct type *obj_type, const char *method_name, std::vector< xmethod_worker_up > *dm_vec) |
static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION | gdbpy_initialize_xmethods (void) |
GDBPY_INITIALIZE_FILE (gdbpy_initialize_xmethods) | |
Variables | |
static const char | enabled_field_name [] = "enabled" |
static const char | match_method_name [] = "match" |
static const char | get_arg_types_method_name [] = "get_arg_types" |
static const char | get_result_type_method_name [] = "get_result_type" |
static const char | matchers_attr_str [] = "xmethods" |
static PyObject * | py_match_method_name = NULL |
static PyObject * | py_get_arg_types_method_name = NULL |
enum ext_lang_rc gdbpy_get_matching_xmethod_workers | ( | const struct extension_language_defn * | extlang, |
struct type * | obj_type, | ||
const char * | method_name, | ||
std::vector< xmethod_worker_up > * | dm_vec ) |
Definition at line 118 of file py-xmethods.c.
References current_program_space, EXT_LANG_RC_ERROR, EXT_LANG_RC_OK, gdb_python_module, gdbpy_print_stack(), invoke_match_method(), matchers_attr_str, objfile_to_objfile_object(), program_space::objfiles(), objfpy_get_xmethods(), pspace_to_pspace_object(), pspy_get_xmethods(), and type_to_type_object().
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_xmethods | ) |
|
static |
Definition at line 603 of file py-xmethods.c.
References get_arg_types_method_name, match_method_name, py_get_arg_types_method_name, and py_match_method_name.
|
static |
Definition at line 82 of file py-xmethods.c.
References enabled_field_name, match_method_name, and py_match_method_name.
Referenced by gdbpy_get_matching_xmethod_workers().
|
static |
Definition at line 30 of file py-xmethods.c.
Referenced by invoke_match_method().
|
static |
Definition at line 32 of file py-xmethods.c.
Referenced by python_xmethod_worker::do_get_arg_types(), and gdbpy_initialize_xmethods().
|
static |
Definition at line 33 of file py-xmethods.c.
Referenced by python_xmethod_worker::do_get_result_type().
|
static |
Definition at line 31 of file py-xmethods.c.
Referenced by gdbpy_initialize_xmethods(), and invoke_match_method().
|
static |
Definition at line 34 of file py-xmethods.c.
Referenced by gdbpy_get_matching_xmethod_workers().
|
static |
Definition at line 37 of file py-xmethods.c.
Referenced by python_xmethod_worker::do_get_arg_types(), and gdbpy_initialize_xmethods().
|
static |
Definition at line 36 of file py-xmethods.c.
Referenced by gdbpy_initialize_xmethods(), and invoke_match_method().