GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
py-auto-load.c File Reference
#include "defs.h"
#include "top.h"
#include "gdbcmd.h"
#include "objfiles.h"
#include "python.h"
#include "auto-load.h"
#include "python-internal.h"

Go to the source code of this file.

Functions

static void show_auto_load_python_scripts (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
bool gdbpy_auto_load_enabled (const struct extension_language_defn *extlang)
 
static void info_auto_load_python_scripts (const char *pattern, int from_tty)
 
int gdbpy_initialize_auto_load (void)
 

Variables

static bool auto_load_python_scripts = true
 

Function Documentation

◆ gdbpy_auto_load_enabled()

bool gdbpy_auto_load_enabled ( const struct extension_language_defn extlang)

Definition at line 46 of file py-auto-load.c.

References auto_load_python_scripts.

◆ gdbpy_initialize_auto_load()

int gdbpy_initialize_auto_load ( void  )

◆ info_auto_load_python_scripts()

static void info_auto_load_python_scripts ( const char *  pattern,
int  from_tty 
)
static

Definition at line 54 of file py-auto-load.c.

References auto_load_info_scripts(), and extension_language_python.

Referenced by gdbpy_initialize_auto_load().

◆ show_auto_load_python_scripts()

static void show_auto_load_python_scripts ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 37 of file py-auto-load.c.

References gdb_printf().

Referenced by gdbpy_initialize_auto_load().

Variable Documentation

◆ auto_load_python_scripts

bool auto_load_python_scripts = true
static

Definition at line 32 of file py-auto-load.c.

Referenced by gdbpy_auto_load_enabled(), and gdbpy_initialize_auto_load().