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)
 
static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION gdbpy_initialize_auto_load (void)
 
 GDBPY_INITIALIZE_FILE (gdbpy_initialize_auto_load)
 

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()

static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION gdbpy_initialize_auto_load ( void )
static

◆ GDBPY_INITIALIZE_FILE()

GDBPY_INITIALIZE_FILE ( gdbpy_initialize_auto_load )

◆ info_auto_load_python_scripts()

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

◆ 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().