GDB (API)
Defines | Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/auto-load.c File Reference
#include "defs.h"
#include "auto-load.h"
#include "progspace.h"
#include "python/python.h"
#include "gdb_regex.h"
#include "ui-out.h"
#include "filenames.h"
#include "command.h"
#include "observer.h"
#include "objfiles.h"
#include "exceptions.h"
#include "cli/cli-script.h"
#include "gdbcmd.h"
#include "cli/cli-decode.h"
#include "cli/cli-setshow.h"
#include "gdb_vecs.h"
#include "readline/tilde.h"
#include "completer.h"
#include "fnmatch.h"
#include "top.h"
#include "filestuff.h"

Go to the source code of this file.

Defines

#define GDB_AUTO_FILE_NAME   "-gdb.gdb"

Typedefs

typedef struct loaded_script * loaded_script_ptr

Functions

int file_is_auto_load_safe (const char *filename, const char *debug_fmt,...)
struct auto_load_pspace_info * get_auto_load_pspace_data_for_loading (struct program_space *pspace)
int maybe_add_script (struct auto_load_pspace_info *pspace_info, int loaded, const char *name, const char *full_path, const struct script_language *language)
void auto_load_objfile_script (struct objfile *objfile, const struct script_language *language)
void load_auto_scripts_for_objfile (struct objfile *objfile)
 DEF_VEC_P (loaded_script_ptr)
void auto_load_info_scripts (char *pattern, int from_tty, const struct script_language *language)
int script_not_found_warning_print (struct auto_load_pspace_info *pspace_info)
struct cmd_list_element ** auto_load_set_cmdlist_get (void)
struct cmd_list_element ** auto_load_show_cmdlist_get (void)
struct cmd_list_element ** auto_load_info_cmdlist_get (void)
void _initialize_auto_load (void)

Variables

int global_auto_load = 1
int auto_load_local_gdbinit = 1
char * auto_load_local_gdbinit_pathname = NULL
int auto_load_local_gdbinit_loaded = 0
char auto_load_info_scripts_pattern_nl [] = ""

Define Documentation

#define GDB_AUTO_FILE_NAME   "-gdb.gdb"

Definition at line 45 of file auto-load.c.


Typedef Documentation

typedef struct loaded_script* loaded_script_ptr

Definition at line 873 of file auto-load.c.


Function Documentation

void _initialize_auto_load ( void  )
struct cmd_list_element** auto_load_info_cmdlist_get ( void  ) [read]

Definition at line 1172 of file auto-load.c.

void auto_load_info_scripts ( char *  pattern,
int  from_tty,
const struct script_language language 
)

Definition at line 945 of file auto-load.c.

void auto_load_objfile_script ( struct objfile objfile,
const struct script_language language 
)

Definition at line 809 of file auto-load.c.

struct cmd_list_element** auto_load_set_cmdlist_get ( void  ) [read]

Definition at line 1094 of file auto-load.c.

struct cmd_list_element** auto_load_show_cmdlist_get ( void  ) [read]

Definition at line 1121 of file auto-load.c.

int file_is_auto_load_safe ( const char *  filename,
const char *  debug_fmt,
  ... 
)

Definition at line 441 of file auto-load.c.

struct auto_load_pspace_info* get_auto_load_pspace_data_for_loading ( struct program_space pspace) [read]

Definition at line 647 of file auto-load.c.

void load_auto_scripts_for_objfile ( struct objfile objfile)

Definition at line 841 of file auto-load.c.

int maybe_add_script ( struct auto_load_pspace_info *  pspace_info,
int  loaded,
const char *  name,
const char *  full_path,
const struct script_language language 
)

Definition at line 664 of file auto-load.c.

int script_not_found_warning_print ( struct auto_load_pspace_info *  pspace_info)

Definition at line 1052 of file auto-load.c.


Variable Documentation

Definition at line 938 of file auto-load.c.

Definition at line 95 of file auto-load.c.

Definition at line 101 of file auto-load.c.

Definition at line 98 of file auto-load.c.

Definition at line 92 of file auto-load.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines