GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
agent.c File Reference
#include "defs.h"
#include "command.h"
#include "gdbcmd.h"
#include "target.h"
#include "gdbsupport/agent.h"
#include "observable.h"
#include "objfiles.h"

Go to the source code of this file.

Functions

static void show_can_use_agent (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void set_can_use_agent (const char *args, int from_tty, struct cmd_list_element *c)
 
static void agent_new_objfile (struct objfile *objfile)
 
void _initialize_agent ()
 

Variables

static const char can_use_agent_on [] = "on"
 
static const char can_use_agent_off [] = "off"
 
static const char *const can_use_agent_enum []
 
static const char * can_use_agent = can_use_agent_off
 

Function Documentation

◆ _initialize_agent()

void _initialize_agent ( )

Definition at line 79 of file agent.c.

Referenced by initialize_all_files().

◆ agent_new_objfile()

static void agent_new_objfile ( struct objfile * objfile)
static

Definition at line 66 of file agent.c.

References can_use_agent, and can_use_agent_off.

◆ set_can_use_agent()

static void set_can_use_agent ( const char * args,
int from_tty,
struct cmd_list_element * c )
static

◆ show_can_use_agent()

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

Definition at line 40 of file agent.c.

References gdb_printf().

Variable Documentation

◆ can_use_agent

const char* can_use_agent = can_use_agent_off
static

Definition at line 37 of file agent.c.

Referenced by agent_new_objfile(), and set_can_use_agent().

◆ can_use_agent_enum

const char* const can_use_agent_enum[]
static
Initial value:
=
{
NULL,
}
static const char can_use_agent_off[]
Definition agent.c:29
static const char can_use_agent_on[]
Definition agent.c:28

Definition at line 30 of file agent.c.

◆ can_use_agent_off

const char can_use_agent_off[] = "off"
static

Definition at line 29 of file agent.c.

Referenced by agent_new_objfile(), and set_can_use_agent().

◆ can_use_agent_on

const char can_use_agent_on[] = "on"
static

Definition at line 28 of file agent.c.

Referenced by set_can_use_agent().