GDB (xrefs)

Functions | Variables
guile.c File Reference
`#include "defs.h"`
`#include "breakpoint.h"`
`#include "cli/cli-cmds.h"`
`#include "cli/cli-script.h"`
`#include "cli/cli-utils.h"`
`#include "command.h"`
`#include "gdbcmd.h"`
`#include "top.h"`
`#include "extension-priv.h"`
`#include "utils.h"`
`#include "version.h"`
`#include <signal.h>`

Go to the source code of this file.

## Functions
static void | guile_repl_command (const char *arg, int from_tty)
static void | guile_command (const char *arg, int from_tty)
static void | set_guile_command (const char *args, int from_tty)
static void | show_guile_command (const char *args, int from_tty)
static void | info_guile_command (const char *args, int from_tty)
static void | install_gdb_commands (void)
void | _initialize_guile (void)

## Variables
int | gdbscm_guile_major_version
int | gdbscm_guile_minor_version
int | gdbscm_guile_micro_version
static const char * | guile_datadir
const char | gdbscm_print_excp_none [] = "none"
const char | gdbscm_print_excp_full [] = "full"
const char | gdbscm_print_excp_message [] = "message"
static const char *const | guile_print_excp_enums []
const char * | gdbscm_print_excp = gdbscm_print_excp_message
const struct extension_language_defn | extension_language_guile
static struct cmd_list_element * | set_guile_list
static struct cmd_list_element * | show_guile_list
static struct cmd_list_element * | info_guile_list

## Function Documentation

## ◆ _initialize_guile()

void _initialize_guile | ( | void |  | ) |

Definition at line 818 of file guile.c.

References install_gdb_commands().

## ◆ guile_command()

static void guile_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 402 of file guile.c.

References _, error(), execute_control_command_untraced(), get_command_line(), guile_control, and skip_spaces().

Referenced by install_gdb_commands().

## ◆ guile_repl_command()

static void guile_repl_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 393 of file guile.c.

References _, error(), and skip_spaces().

Referenced by install_gdb_commands().

## ◆ info_guile_command()

static void info_guile_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 446 of file guile.c.

References _, all_commands, gdb_stdout, help_list(), info_guile_list, and printf_unfiltered().

Referenced by install_gdb_commands().

## ◆ install_gdb_commands()

static void install_gdb_commands | ( | void |  | ) |
| static

Definition at line 730 of file guile.c.

References _, add_alias_cmd(), add_com(), add_com_alias(), add_info_alias(), add_prefix_cmd(), add_setshow_enum_cmd(), class_obscure, gdbscm_print_excp, guile_command(), guile_print_excp_enums, guile_repl_command(), info_guile_command(), info_guile_list, infolist, no_class, set_guile_command(), set_guile_list, setlist, show_guile_command(), show_guile_list, and showlist.

Referenced by _initialize_guile().

## ◆ set_guile_command()

static void set_guile_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 428 of file guile.c.

References all_commands, gdb_stdout, help_list(), and set_guile_list.

Referenced by install_gdb_commands().

## ◆ show_guile_command()

static void show_guile_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 436 of file guile.c.

References cmd_show_list(), and show_guile_list.

Referenced by install_gdb_commands().

## Variable Documentation

## ◆ extension_language_guile

const struct extension_language_defn extension_language_guile

Initial value:
=
{
EXT_LANG_GUILE,
"guile",
"Guile",
".scm",
"-gdb.scm",
guile_control,
NULL,
NULL
}
guile_control
Definition: cli-script.h:43
EXT_LANG_GUILE
Definition: extension.h:64

Referenced by info_auto_load_guile_scripts().

## ◆ gdbscm_guile_major_version

int gdbscm_guile_major_version

Definition at line 45 of file guile.c.

Referenced by gdbscm_guile_version_is_at_least().

## ◆ gdbscm_guile_micro_version

int gdbscm_guile_micro_version

Definition at line 47 of file guile.c.

Referenced by gdbscm_guile_version_is_at_least().

## ◆ gdbscm_guile_minor_version

int gdbscm_guile_minor_version

Definition at line 46 of file guile.c.

Referenced by gdbscm_guile_version_is_at_least().

## ◆ gdbscm_print_excp

const char* gdbscm_print_excp = gdbscm_print_excp_message

Definition at line 70 of file guile.c.

Referenced by gdbscm_percent_exception_print_style(), and install_gdb_commands().

## ◆ gdbscm_print_excp_full

const char gdbscm_print_excp_full[] = "full"

Definition at line 54 of file guile.c.

Referenced by gdbscm_percent_exception_print_style().

## ◆ gdbscm_print_excp_message

const char gdbscm_print_excp_message[] = "message"

Definition at line 55 of file guile.c.

Referenced by gdbscm_percent_exception_print_style().

## ◆ gdbscm_print_excp_none

const char gdbscm_print_excp_none[] = "none"

Definition at line 53 of file guile.c.

Referenced by gdbscm_percent_exception_print_style().

## ◆ guile_datadir

const char* guile_datadir
| static

Definition at line 50 of file guile.c.

## ◆ guile_print_excp_enums

const char* const guile_print_excp_enums[]
| static

Initial value:
=
{
gdbscm_print_excp_none,
gdbscm_print_excp_full,
gdbscm_print_excp_message,
NULL
}
gdbscm_print_excp_full
const char gdbscm_print_excp_full[]
Definition: guile.c:54
gdbscm_print_excp_message
const char gdbscm_print_excp_message[]
Definition: guile.c:55
gdbscm_print_excp_none
const char gdbscm_print_excp_none[]
Definition: guile.c:53

Definition at line 58 of file guile.c.

Referenced by install_gdb_commands().

## ◆ info_guile_list

struct cmd_list_element* info_guile_list
| static

Definition at line 423 of file guile.c.

Referenced by info_guile_command(), and install_gdb_commands().

## ◆ set_guile_list

struct cmd_list_element* set_guile_list
| static

Definition at line 421 of file guile.c.

Referenced by install_gdb_commands(), and set_guile_command().

## ◆ show_guile_list

struct cmd_list_element* show_guile_list
| static

Definition at line 422 of file guile.c.

Referenced by install_gdb_commands(), and show_guile_command().