[PR/24474] Add gdb.lookup_static_symbol to the python API
[deliverable/binutils-gdb.git] / gdb / python / python.c
index 96bee7c3b04f0c1fff1b3ea96bc9e08060230f36..162470dcc022372664f64ac4a80441abae4b2c33 100644 (file)
@@ -1978,6 +1978,10 @@ a boolean indicating if name is a field of the current implied argument\n\
     METH_VARARGS | METH_KEYWORDS,
     "lookup_global_symbol (name [, domain]) -> symbol\n\
 Return the symbol corresponding to the given name (or None)." },
+  { "lookup_static_symbol", (PyCFunction) gdbpy_lookup_static_symbol,
+    METH_VARARGS | METH_KEYWORDS,
+    "lookup_static_symbol (name [, domain]) -> symbol\n\
+Return the static-linkage symbol corresponding to the given name (or None)." },
 
   { "lookup_objfile", (PyCFunction) gdbpy_lookup_objfile,
     METH_VARARGS | METH_KEYWORDS,
This page took 0.035112 seconds and 4 git commands to generate.