GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
tui_location_tracker Struct Reference

#include "tui-location.h"

Public Member Functions

bool set_location (struct gdbarch *gdbarch, const struct symtab_and_line &sal, const char *procname)
 
bool set_location (struct symtab *symtab)
 
CORE_ADDR addr () const
 
struct gdbarchgdbarch () const
 
const std::string & full_name () const
 
const std::string & proc_name () const
 
int line_no () const
 

Private Member Functions

bool set_fullname (struct symtab *symtab)
 

Private Attributes

std::string m_full_name
 
std::string m_proc_name
 
int m_line_no = 0
 
CORE_ADDR m_addr = 0
 
struct gdbarchm_gdbarch = nullptr
 

Detailed Description

Definition at line 33 of file tui-location.h.

Member Function Documentation

◆ addr()

CORE_ADDR tui_location_tracker::addr ( ) const
inline

◆ full_name()

const std::string & tui_location_tracker::full_name ( ) const
inline

Definition at line 55 of file tui-location.h.

References m_full_name.

Referenced by tui_source_window::set_contents(), and tui_source_window::showing_source_p().

◆ gdbarch()

struct gdbarch * tui_location_tracker::gdbarch ( ) const
inline

◆ line_no()

int tui_location_tracker::line_no ( ) const
inline

Definition at line 63 of file tui-location.h.

References m_line_no.

Referenced by tui_locator_window::make_status_line(), and tui_source_window::set_contents().

◆ proc_name()

const std::string & tui_location_tracker::proc_name ( ) const
inline

Definition at line 59 of file tui-location.h.

References m_proc_name.

Referenced by tui_locator_window::make_status_line().

◆ set_fullname()

bool tui_location_tracker::set_fullname ( struct symtab * symtab)
private

Definition at line 72 of file tui-location.c.

References m_full_name, and symtab_to_fullname().

Referenced by set_location(), and set_location().

◆ set_location() [1/2]

bool tui_location_tracker::set_location ( struct gdbarch * gdbarch,
const struct symtab_and_line & sal,
const char * procname )

◆ set_location() [2/2]

bool tui_location_tracker::set_location ( struct symtab * symtab)

Definition at line 59 of file tui-location.c.

References set_fullname(), and tui_show_locator_content().

Member Data Documentation

◆ m_addr

CORE_ADDR tui_location_tracker::m_addr = 0
private

Definition at line 82 of file tui-location.h.

Referenced by addr(), and set_location().

◆ m_full_name

std::string tui_location_tracker::m_full_name
private

Definition at line 73 of file tui-location.h.

Referenced by full_name(), and set_fullname().

◆ m_gdbarch

struct gdbarch* tui_location_tracker::m_gdbarch = nullptr
private

Definition at line 85 of file tui-location.h.

Referenced by gdbarch(), and set_location().

◆ m_line_no

int tui_location_tracker::m_line_no = 0
private

Definition at line 79 of file tui-location.h.

Referenced by line_no(), and set_location().

◆ m_proc_name

std::string tui_location_tracker::m_proc_name
private

Definition at line 76 of file tui-location.h.

Referenced by proc_name(), and set_location().


The documentation for this struct was generated from the following files: