Nemiver  0.3
Public Types | Public Member Functions | Friends | List of all members
nemiver::GDBEngine Class Reference

#include <nmv-gdb-engine.h>

Inheritance diagram for nemiver::GDBEngine:
nemiver::IDebugger nemiver::common::DynModIface nemiver::common::Object

Public Types

typedef std::map< UString, std::list< IDebugger::VariableSafePtr > > VarsPerFilesMap
 
- Public Types inherited from nemiver::IDebugger
enum  State {
  NOT_STARTED =0, INFERIOR_LOADED, READY, RUNNING,
  PROGRAM_EXITED
}
 
enum  StopReason {
  UNDEFINED_REASON =0, BREAKPOINT_HIT, WATCHPOINT_TRIGGER, READ_WATCHPOINT_TRIGGER,
  ACCESS_WATCHPOINT_TRIGGER, FUNCTION_FINISHED, LOCATION_REACHED, WATCHPOINT_SCOPE,
  END_STEPPING_RANGE, EXITED_SIGNALLED, EXITED, EXITED_NORMALLY,
  SIGNAL_RECEIVED
}
 
typedef unsigned int register_id_t
 
typedef vector< OverloadsChoiceEntryOverloadsChoiceEntries
 
typedef SafePtr< Variable, ObjectRef, ObjectUnrefVariableSafePtr
 
typedef list< VariableSafePtrVariableList
 
typedef sigc::slot< void > DefaultSlot
 
typedef sigc::slot< void, const vector< IDebugger::Frame > & > FrameVectorSlot
 
typedef sigc::slot< void, const map< int, IDebugger::VariableList > & > FrameArgsSlot
 
typedef sigc::slot< void, const VariableSafePtrConstVariableSlot
 
typedef sigc::slot< void, const VariableList & > ConstVariableListSlot
 
typedef sigc::slot< void, const UString & > ConstUStringSlot
 
typedef sigc::slot< void, const std::map< string, IDebugger::Breakpoint > & > BreakpointsSlot
 
typedef sigc::slot< void, Loc & > LocSlot
 
typedef sigc::slot< void, const DisassembleInfo &, const std::list< Asm > & > DisassSlot
 

Public Member Functions

 GDBEngine (DynamicModule *a_dynmod)
 
virtual ~GDBEngine ()
 
sigc::signal< void, Output & > & pty_signal () const
 
sigc::signal< void, CommandAndOutput & > & stdout_signal () const
 
sigc::signal< void, Output & > & stderr_signal () const
 
sigc::signal< void > & engine_died_signal () const
 
sigc::signal< void, const UString & > & console_message_signal () const
 
sigc::signal< void, const UString & > & target_output_message_signal () const
 
sigc::signal< void, const UString & > & log_message_signal () const
 
sigc::signal< void, const UString &, const UString & > & command_done_signal () const
 
sigc::signal< void > & connected_to_server_signal () const
 
sigc::signal< void > & detached_from_target_signal () const
 
sigc::signal< void > & inferior_re_run_signal () const
 
sigc::signal< void, const map< string, IDebugger::Breakpoint > &, const UString & > & breakpoints_list_signal () const
 
sigc::signal< void, const std::map< string, IDebugger::Breakpoint > &, const UString & > & breakpoints_set_signal () const
 
sigc::signal< void, const vector< OverloadsChoiceEntry > &, const UString & > & got_overloads_choice_signal () const
 
sigc::signal< void, const IDebugger::Breakpoint &, const string &, const UString & > & breakpoint_deleted_signal () const
 
sigc::signal< void, const IDebugger::Breakpoint &, int > & breakpoint_disabled_signal () const
 
sigc::signal< void, const IDebugger::Breakpoint &, int > & breakpoint_enabled_signal () const
 
sigc::signal< void, IDebugger::StopReason, bool, const IDebugger::Frame &, int, const string &, const UString & > & stopped_signal () const
 
sigc::signal< void, const list< int >, const UString & > & threads_listed_signal () const
 
sigc::signal< void, const vector< UString > &, const UString & > & files_listed_signal () const
 
sigc::signal< void, int, const Frame *const, const UString & > & thread_selected_signal () const
 
sigc::signal< void, const vector< IDebugger::Frame > &, const UString & > & frames_listed_signal () const
 
sigc::signal< void, const map< int, list< IDebugger::VariableSafePtr > > &, const UString & > & frames_arguments_listed_signal () const
 
sigc::signal< void, const IDebugger::Frame &, const UString & > & current_frame_signal () const
 
sigc::signal< void, const list< VariableSafePtr > &, const UString & > & local_variables_listed_signal () const
 
sigc::signal< void, const list< VariableSafePtr > &, const UString & > & global_variables_listed_signal () const
 
sigc::signal< void, const UString &, const IDebugger::VariableSafePtr, const UString & > & variable_value_signal () const
 Emitted as the result of the IDebugger::print_variable_value() call. More...
 
sigc::signal< void, const VariableSafePtr, const UString & > & variable_value_set_signal () const
 Emitted as the result of the IDebugger::get_variable_value() call. More...
 
sigc::signal< void, const UString &, const VariableSafePtr, const UString & > & pointed_variable_value_signal () const
 
sigc::signal< void, const UString &, const UString &, const UString & > & variable_type_signal () const
 Emitted as the result of the IDebugger::print_variable_type() call. More...
 
sigc::signal< void, const VariableSafePtr, const UString & > & variable_type_set_signal () const
 
sigc::signal< void, const VariableSafePtr, const UString & > & variable_dereferenced_signal () const
 Emitted as a the result of the IDebugger::dereference_variable is call. More...
 
sigc::signal< void, const VariableSafePtr, const UString & > & variable_visualized_signal () const
 
sigc::signal< void, int, const UString & > & got_target_info_signal () const
 
sigc::signal< void > & running_signal () const
 
sigc::signal< void, const UString &, const UString & > & signal_received_signal () const
 
sigc::signal< void, const UString & > & error_signal () const
 
sigc::signal< void > & program_finished_signal () const
 
sigc::signal< void, IDebugger::State > & state_changed_signal () const
 
sigc::signal< void, const UString &, const UString &, const UString & > & register_value_changed_signal () const
 
sigc::signal< void, const std::map< register_id_t, UString > &, const UString & > & register_names_listed_signal () const
 
sigc::signal< void, const std::list< register_id_t > &, const UString & > & changed_registers_listed_signal () const
 
sigc::signal< void, const std::map< register_id_t, UString > &, const UString & > & register_values_listed_signal () const
 
sigc::signal< void, size_t, const std::vector< uint8_t > &, const UString & > & read_memory_signal () const
 
sigc::signal< void, size_t, const std::vector< uint8_t > &, const UString & > & set_memory_signal () const
 
sigc::signal< void, const common::DisassembleInfo &, const std::list< common::Asm > &, const UString & > & instructions_disassembled_signal () const
 
sigc::signal< void, const VariableSafePtr, const UString & > & variable_created_signal () const
 
sigc::signal< void, const VariableSafePtr, const UString & > & variable_deleted_signal () const
 
sigc::signal< void, const VariableSafePtr, const UString & > & variable_unfolded_signal () const
 
sigc::signal< void, const VariableSafePtr, const UString & > & variable_expression_evaluated_signal () const
 
sigc::signal< void, const list< VariableSafePtr > &, const UString & > & changed_variables_signal () const
 
sigc::signal< void, VariableSafePtr, const UString & > & assigned_variable_signal () const
 
void on_debugger_stdout_signal (CommandAndOutput &a_cao)
 
void on_got_target_info_signal (int a_pid, const UString &a_exe_path)
 
void on_stopped_signal (IDebugger::StopReason a_reason, bool has_frame, const IDebugger::Frame &a_frame, int a_thread_id, const string &a_breakpoint_number, const UString &a_cookie)
 
void on_detached_from_target_signal ()
 
void on_program_finished_signal ()
 
void on_rv_eval_var (const VariableSafePtr, const UString &, const ConstVariableSlot &)
 
void on_rv_unfold_var (const VariableSafePtr, const UString &, const ConstVariableSlot &)
 
void on_rv_set_visualizer_on_members (const VariableSafePtr, const UString &, const ConstVariableSlot &)
 
void on_rv_set_visualizer_on_next_sibling (const VariableSafePtr, const UString &, IDebugger::VariableList::iterator, IDebugger::VariableList::iterator, const ConstVariableSlot &)
 
void on_rv_flag (const VariableSafePtr, const UString &, const ConstVariableSlot &)
 
void unfold_variable_with_visualizer (const VariableSafePtr, const UString &a_visualizer, const ConstVariableSlot &)
 
void init ()
 
void do_init (IConfMgrSafePtr a_conf_mgr)
 
IConfMgrget_conf_mgr ()
 
map< UString, UString > & properties ()
 
void set_event_loop_context (const Glib::RefPtr< Glib::MainContext > &)
 
void run_loop_iterations (int a_nb_iters)
 
void set_state (IDebugger::State a_state)
 
bool stop_target ()
 
void exit_engine ()
 
void execute_command (const Command &a_command)
 
bool queue_command (const Command &a_command)
 
bool busy () const
 
void set_non_persistent_debugger_path (const UString &a_full_path)
 
const UStringget_debugger_full_path () const
 
void set_debugger_parameter (const UString &a_name, const UString &a_value)
 
void set_solib_prefix_path (const UString &a_name)
 
bool load_program (const UString &a_prog)
 
bool load_program (const UString &a_prog, const vector< UString > &a_args)
 
bool load_program (const UString &a_prog, const vector< UString > &a_args, const UString &a_working_dir, bool a_force)
 
bool load_program (const UString &a_prog, const vector< UString > &a_argv, const UString &working_dir, const vector< UString > &a_source_search_dirs, const UString &a_slave_tty_path, int a_slave_tty_fd, bool a_uses_launch_tty, bool a_force)
 
void load_core_file (const UString &a_prog_file, const UString &a_core_path)
 
bool attach_to_target (unsigned int a_pid, const UString &a_tty_path)
 
bool attach_to_remote_target (const UString &a_host, unsigned a_port)
 
bool attach_to_remote_target (const UString &a_serial_line)
 
void detach_from_target (const UString &a_cookie)
 
void disconnect_from_remote_target (const UString &a_cookie)
 
bool is_attached_to_target () const
 
void set_attached_to_target (bool a_is_attached)
 
void set_tty_path (const UString &a_tty_path)
 
void add_env_variables (const map< UString, UString > &a_vars)
 
map< UString, UString > & get_env_variables ()
 
const UStringget_target_path ()
 
void init_output_handlers ()
 
void append_breakpoint_to_cache (IDebugger::Breakpoint &a_break)
 
void append_breakpoints_to_cache (map< string, IDebugger::Breakpoint > &)
 
void do_continue (const UString &a_cookie)
 
void run (const UString &a_cookie)
 
void re_run (const DefaultSlot &)
 
void get_target_info (const UString &a_cookie)
 
ILangTraitSafePtr create_language_trait ()
 
ILangTraitget_language_trait ()
 
bool is_variable_editable (const VariableSafePtr) const
 
bool is_running () const
 
IDebugger::State get_state () const
 
int get_current_frame_level () const
 
void set_current_frame_level (int)
 
const Addressget_current_frame_address () const
 
void set_current_frame_address (const Address &a_address)
 
void get_mi_thread_location (UString &a_str) const
 
void get_mi_thread_and_frame_location (UString &a_str) const
 
void reset_command_queue ()
 
void step_over (const UString &a_cookie)
 
void step_in (const UString &a_cookie)
 
void step_out (const UString &a_cookie)
 
void step_over_asm (const UString &a_cookie)
 
void step_in_asm (const UString &a_cookie)
 
void continue_to_position (const UString &a_path, gint a_line_num, const UString &a_cookie)
 
void jump_to_position (const Loc &a_loc, const DefaultSlot &a_slot)
 
void set_breakpoint (const Loc &a_loc, const UString &a_condition, gint a_ignore_count, const BreakpointsSlot &a_slot, const UString &a_cookie)
 
void set_breakpoint (const UString &a_path, gint a_line_num, const UString &a_condition, gint a_ignore_count, const UString &a_cookie)
 
void set_breakpoint (const UString &a_func_name, const UString &a_condition, gint a_ignore_count, const UString &a_cookie)
 
void set_breakpoint (const UString &a_func_name, const BreakpointsSlot &a_slot, const UString &a_condition, gint a_ignore_count, const UString &a_cookie)
 
void set_breakpoint (const Address &a_address, const UString &a_condition, gint a_ignore_count, const UString &a_cookie)
 
void enable_breakpoint (const string &a_break_num, const BreakpointsSlot &a_slot, const UString &a_cookie="")
 
void enable_breakpoint (const string &a_break_num, const UString &a_cookie="")
 
void disable_breakpoint (const string &a_break_num, const UString &a_cookie="")
 
void set_breakpoint_ignore_count (const string &a_break_num, gint a_ignore_count, const UString &a_cookie="")
 
void set_breakpoint_condition (const string &a_break_num, const UString &a_condition, const UString &a_cookie="")
 
void enable_countpoint (const string &a_break_num, bool a_flag, const UString &a_cookie="")
 
bool is_countpoint (const string &a_break_num) const
 
bool is_countpoint (const Breakpoint &a_breakpoint) const
 
void delete_breakpoint (const UString &a_path, gint a_line_num, const UString &a_cookie)
 
void set_watchpoint (const UString &a_expression, bool a_write, bool a_read, const UString &a_cookie)
 
void list_breakpoints (const UString &a_cookie)
 
map< string, IDebugger::Breakpoint > & get_cached_breakpoints ()
 
bool get_breakpoint_from_cache (const string &a_num, IDebugger::Breakpoint &a_bp) const
 
void set_catch (const UString &a_event, const UString &a_cookie)
 
void choose_function_overload (int a_overload_number, const UString &a_cookie)
 
void choose_function_overloads (const vector< int > &a_numbers, const UString &a_cookie)
 
void list_threads (const UString &a_cookie)
 
void select_thread (unsigned int a_thread_id, const UString &a_cookie)
 
unsigned int get_current_thread () const
 
void delete_breakpoint (const string &a_break_num, const UString &a_cookie)
 
void select_frame (int a_frame_id, const UString &a_cookie)
 
void list_frames (int a_low_frame, int a_high_frame, const UString &a_cookie)
 
void list_frames (int a_low_frame, int a_high_frame, const FrameVectorSlot &a_slot, const UString &a_cookie)
 
void list_frames_arguments (int a_low_frame, int a_high_frame, const UString &a_cookie)
 
void list_frames_arguments (int a_low_frame, int a_high_frame, const FrameArgsSlot &a_slot, const UString &a_cookie)
 
void list_local_variables (const ConstVariableListSlot &a_slot, const UString &a_cookie)
 
void list_local_variables (const UString &a_cookie)
 
void list_global_variables (const UString &a_cookie)
 
void evaluate_expression (const UString &a_expr, const UString &a_cookie)
 
void call_function (const UString &a_call_expression, const UString &a_cookie="")
 
void print_variable_value (const UString &a_var_name, const UString &a_cookie)
 
void get_variable_value (const VariableSafePtr &a_var, const UString &a_cookie)
 
void print_pointed_variable_value (const UString &a_var_name, const UString &a_cookie)
 
void print_variable_type (const UString &a_var_name, const UString &a_cookie)
 
void get_variable_type (const VariableSafePtr &a_var, const UString &a_cookie)
 
bool dereference_variable (const VariableSafePtr &a_var, const UString &a_cookie)
 
void revisualize_variable (const VariableSafePtr a_var, const ConstVariableSlot &a_slot)
 
void revisualize_variable (const VariableSafePtr a_var, bool a_toggle_pretty_printing, const ConstVariableSlot &a_slot)
 
void revisualize_variable_real (IDebugger::VariableSafePtr, const UString &, const ConstVariableSlot &a_slot)
 
void list_files (const UString &a_cookie)
 
bool extract_proc_info (Output &a_output, int &a_proc_pid, UString &a_exe_path)
 
bool extract_global_variable_list (Output &a_output, VarsPerFilesMap &a_vars)
 
void list_register_names (const UString &a_cookie)
 
void list_register_values (std::list< register_id_t > a_registers, const UString &a_cookie)
 
virtual void set_register_value (const UString &a_reg_name, const UString &a_value, const UString &a_cookie)
 
void list_changed_registers (const UString &a_cookie)
 
void list_register_values (const UString &a_cookie)
 
void read_memory (size_t a_start_addr, size_t a_num_bytes, const UString &a_cookie)
 
void set_memory (size_t a_addr, const std::vector< uint8_t > &a_bytes, const UString &a_cookie)
 
void disassemble (size_t a_start_addr, bool a_start_addr_relative_to_pc, size_t a_end_addr, bool a_end_addr_relative_to_pc, bool a_pure_asm, const UString &a_cookie)
 
void disassemble (size_t a_start_addr, bool a_start_addr_relative_to_pc, size_t a_end_addr, bool a_end_addr_relative_to_pc, const DisassSlot &a_slot, bool a_pure_asm, const UString &a_cookie)
 
void disassemble_lines (const UString &a_file_name, int a_line_num, int a_nb_disassembled_lines, bool a_pure_asm, const UString &a_cookie)
 
void disassemble_lines (const UString &a_file_name, int a_line_num, int a_nb_disassembled_lines, const DisassSlot &a_slot, bool a_pure_asm, const UString &a_cookie)
 
void create_variable (const UString &a_name, const UString &a_cookie="")
 
void create_variable (const UString &a_name, const ConstVariableSlot &a_s, const UString &a_cookie="")
 
void create_variable (const UString &a_name, const ConstVariableSlot &a_s, const UString &a_cookie, bool a_should_emit_signal)
 
void delete_variable (const VariableSafePtr a_var, const UString &a_cookie)
 
void delete_variable (const VariableSafePtr a_var, const ConstVariableSlot &a_s, const UString &a_cookie)
 
void delete_variable (const UString &a_internal_name, const DefaultSlot &a_slot, const UString &a_cookie)
 
void unfold_variable (VariableSafePtr a_var, const UString &a_cookie)
 
void unfold_variable (VariableSafePtr a_var, const ConstVariableSlot &a_s, const UString &a_cookie)
 
void unfold_variable (VariableSafePtr a_var, const ConstVariableSlot &a_s, const UString &a_cookie, bool a_should_emit_signal)
 
void assign_variable (const VariableSafePtr a_var, const UString &a_expression, const UString &a_cookie)
 
void assign_variable (const VariableSafePtr a_var, const UString &a_expression, const ConstVariableSlot &a_slot, const UString &a_cookie)
 
void evaluate_variable_expr (const VariableSafePtr a_var, const UString &a_cookie)
 
void evaluate_variable_expr (const VariableSafePtr a_var, const ConstVariableSlot &a_slot, const UString &a_cookie)
 
void list_changed_variables (VariableSafePtr a_root, const UString &a_cookie)
 
void list_changed_variables (VariableSafePtr a_root, const ConstVariableListSlot &a_slot, const UString &a_cookie)
 
void query_variable_path_expr (const VariableSafePtr a_root, const UString &a_cookie)
 
void query_variable_path_expr (const VariableSafePtr, const ConstVariableSlot &a_slot, const UString &a_cookie)
 
void query_variable_format (const VariableSafePtr a_var, const ConstVariableSlot &a_slot, const UString &a_cookie)
 
void set_variable_format (const VariableSafePtr a_var, const Variable::Format a_format, const UString &a_cookie)
 
void enable_pretty_printing (bool a_flag)
 
void set_variable_visualizer (const VariableSafePtr a_var, const std::string &a_vizualizer, const ConstVariableSlot &a_slot)
 
- Public Member Functions inherited from nemiver::IDebugger
virtual ~IDebugger ()
 
virtual void set_variable_format (const VariableSafePtr a_var, const Variable::Format a_format, const UString &a_cookie="")=0
 
sigc::signal< void, const VariableSafePtr, const UString & > & variable_visualized_signal () const
 
- Public Member Functions inherited from nemiver::common::DynModIface
 DynModIface (DynamicModuleSafePtr &a_dynmod)
 
 DynModIface (DynamicModule *a_dynmod)
 
DynamicModuleget_dynamic_module () const
 
- Public Member Functions inherited from nemiver::common::Object
 Object ()
 
 Object (Object const &)
 
Objectoperator= (Object const &)
 
virtual ~Object ()
 
void ref ()
 
void unref ()
 
void enable_refcount (bool a_enabled=true)
 
bool is_refcount_enabled () const
 
long get_refcount () const
 
void attach_object (const UString &a_key, const Object *a_object)
 
bool get_attached_object (const UString &a_key, const Object *&a_object)
 

Friends

struct Priv
 

Additional Inherited Members

- Static Public Member Functions inherited from nemiver::IDebugger
static UString state_to_string (State a_state)
 
static bool is_exited (enum StopReason a_reason)
 Return true if a StopReason represents a reason for exiting. More...
 
- Protected Member Functions inherited from nemiver::IDebugger
 IDebugger (DynamicModule *a_dynmod)
 
- Protected Attributes inherited from nemiver::common::Object
SafePtr< ObjectPrivm_priv
 

Member Typedef Documentation

◆ VarsPerFilesMap

Constructor & Destructor Documentation

◆ GDBEngine()

nemiver::GDBEngine::GDBEngine ( DynamicModule a_dynmod)

◆ ~GDBEngine()

virtual nemiver::GDBEngine::~GDBEngine ( )
virtual

Member Function Documentation

◆ add_env_variables()

void nemiver::GDBEngine::add_env_variables ( const map< UString, UString > &  a_vars)
virtual

Implements nemiver::IDebugger.

◆ append_breakpoint_to_cache()

void nemiver::GDBEngine::append_breakpoint_to_cache ( IDebugger::Breakpoint a_break)

◆ append_breakpoints_to_cache()

void nemiver::GDBEngine::append_breakpoints_to_cache ( map< string, IDebugger::Breakpoint > &  )

◆ assign_variable() [1/2]

void nemiver::GDBEngine::assign_variable ( const VariableSafePtr  a_var,
const UString a_expression,
const ConstVariableSlot a_slot,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ assign_variable() [2/2]

void nemiver::GDBEngine::assign_variable ( const VariableSafePtr  a_var,
const UString a_expression,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ assigned_variable_signal()

sigc::signal<void, VariableSafePtr, const UString&>& nemiver::GDBEngine::assigned_variable_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ attach_to_remote_target() [1/2]

bool nemiver::GDBEngine::attach_to_remote_target ( const UString a_host,
unsigned  a_port 
)
virtual

Implements nemiver::IDebugger.

◆ attach_to_remote_target() [2/2]

bool nemiver::GDBEngine::attach_to_remote_target ( const UString a_serial_line)
virtual

Implements nemiver::IDebugger.

◆ attach_to_target()

bool nemiver::GDBEngine::attach_to_target ( unsigned int  a_pid,
const UString a_tty_path 
)
virtual

Implements nemiver::IDebugger.

◆ breakpoint_deleted_signal()

sigc::signal<void, const IDebugger::Breakpoint&, const string&, const UString&>& nemiver::GDBEngine::breakpoint_deleted_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ breakpoint_disabled_signal()

sigc::signal<void, const IDebugger::Breakpoint&, int>& nemiver::GDBEngine::breakpoint_disabled_signal ( ) const

◆ breakpoint_enabled_signal()

sigc::signal<void, const IDebugger::Breakpoint&, int>& nemiver::GDBEngine::breakpoint_enabled_signal ( ) const

◆ breakpoints_list_signal()

sigc::signal<void, const map<string, IDebugger::Breakpoint>&, const UString&>& nemiver::GDBEngine::breakpoints_list_signal ( ) const
virtual

returns a list of breakpoints set. It is not all the breakpoints set. Some of the breakpoints in the list can have been already returned in a previous call. This is done so because IDebugger does not cache the list of breakpoints. This must be fixed at some point.

Implements nemiver::IDebugger.

◆ breakpoints_set_signal()

sigc::signal<void, const std::map<string, IDebugger::Breakpoint>&, const UString& >& nemiver::GDBEngine::breakpoints_set_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ busy()

bool nemiver::GDBEngine::busy ( ) const
virtual

Implements nemiver::IDebugger.

◆ call_function()

void nemiver::GDBEngine::call_function ( const UString a_call_expression,
const UString a_cookie = "" 
)
virtual

Implements nemiver::IDebugger.

◆ changed_registers_listed_signal()

sigc::signal<void, const std::list<register_id_t>&, const UString& >& nemiver::GDBEngine::changed_registers_listed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ changed_variables_signal()

sigc::signal<void, const list<VariableSafePtr>&, const UString&>& nemiver::GDBEngine::changed_variables_signal ( ) const
virtual

This is a callback slot invoked upon completion of the IDebugger::list_changed_variables entry point.

The parameters of the slots are the list of variables that changed, and the cookie passed to IDebugger::list_changed_variables.

Implements nemiver::IDebugger.

◆ choose_function_overload()

void nemiver::GDBEngine::choose_function_overload ( int  a_overload_number,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ choose_function_overloads()

void nemiver::GDBEngine::choose_function_overloads ( const vector< int > &  a_numbers,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ command_done_signal()

sigc::signal<void, const UString&, const UString&>& nemiver::GDBEngine::command_done_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ connected_to_server_signal()

sigc::signal<void>& nemiver::GDBEngine::connected_to_server_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ console_message_signal()

sigc::signal<void, const UString&>& nemiver::GDBEngine::console_message_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ continue_to_position()

void nemiver::GDBEngine::continue_to_position ( const UString a_path,
gint  a_line_num,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ create_language_trait()

ILangTraitSafePtr nemiver::GDBEngine::create_language_trait ( )

◆ create_variable() [1/3]

void nemiver::GDBEngine::create_variable ( const UString a_name,
const ConstVariableSlot a_s,
const UString a_cookie,
bool  a_should_emit_signal 
)

◆ create_variable() [2/3]

void nemiver::GDBEngine::create_variable ( const UString a_name,
const ConstVariableSlot a_s,
const UString a_cookie = "" 
)
virtual

Implements nemiver::IDebugger.

◆ create_variable() [3/3]

void nemiver::GDBEngine::create_variable ( const UString a_name,
const UString a_cookie = "" 
)
virtual

Implements nemiver::IDebugger.

◆ current_frame_signal()

sigc::signal<void, const IDebugger::Frame&, const UString&>& nemiver::GDBEngine::current_frame_signal ( ) const
virtual

called when a core file is loaded. it signals the current frame, i.e the frame in which the core got dumped.

Implements nemiver::IDebugger.

◆ delete_breakpoint() [1/2]

void nemiver::GDBEngine::delete_breakpoint ( const string &  a_break_num,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ delete_breakpoint() [2/2]

void nemiver::GDBEngine::delete_breakpoint ( const UString a_path,
gint  a_line_num,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ delete_variable() [1/3]

void nemiver::GDBEngine::delete_variable ( const UString a_internal_name,
const DefaultSlot a_slot,
const UString a_cookie 
)
virtual

Deletes a backend variable object (e.g, for GDB, a so called variable object) named by a given string. You should not use this method because the life cycle of variables backend counter parts is automatically tied to the life cycle of instances of IDebugger::Variable, unless you know what you are doing.

Note that when the backend counter part is deleted, the IDebugger::variable_deleted_signal is invoked, with null pointer to IDebugger::Variable.

Parameters
a_internal_namethe name of the backend variable object we want to delete.
a_slota slot that is going to be called asynchronuously when the backend object is deleted.
a_cookie

Implements nemiver::IDebugger.

◆ delete_variable() [2/3]

void nemiver::GDBEngine::delete_variable ( const VariableSafePtr  a_var,
const ConstVariableSlot ,
const UString a_cookie 
)
virtual

If a variable has a backend counterpart (e.g, a variable object when using the GDB backend), then this method deletes the backend. You should not use this method because the life cycle of variables backend counter parts is automatically tied to the life cycle of instances of IDebugger::Variable, unless you know what you are doing.

Note that when the backend counter part is deleted, the IDebugger::variable_deleted_signal is invoked with the a_var variable in argument.

Parameters
a_varthe variable which backend counter to delete.
a_slota slot asynchronously called when the backend variable oject is deleted.
a_cookiea string cookie passed to the IDebugger::variable_deleted_signal.

Implements nemiver::IDebugger.

◆ delete_variable() [3/3]

void nemiver::GDBEngine::delete_variable ( const VariableSafePtr  a_var,
const UString a_cookie 
)
virtual

If a variable has a backend counterpart (e.g, a variable object when using the GDB backend), then this method deletes the backend. You should not use this method because the life cycle of variables backend counter parts is automatically tied to the life cycle of instances of IDebugger::Variable, unless you know what you are doing.

Note that when the backend counter part is deleted, the IDebugger::variable_deleted_signal is invoked with the a_var variable in argument.

Parameters
a_varthe variable which backend counter to delete.
a_cookiea string cookie passed to the IDebugger::variable_deleted_signal.

Implements nemiver::IDebugger.

◆ dereference_variable()

bool nemiver::GDBEngine::dereference_variable ( const VariableSafePtr a_var,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ detach_from_target()

void nemiver::GDBEngine::detach_from_target ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ detached_from_target_signal()

sigc::signal<void>& nemiver::GDBEngine::detached_from_target_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ disable_breakpoint()

void nemiver::GDBEngine::disable_breakpoint ( const string &  a_break_num,
const UString a_cookie = "" 
)
virtual

Implements nemiver::IDebugger.

◆ disassemble() [1/2]

void nemiver::GDBEngine::disassemble ( size_t  a_start_addr,
bool  a_start_addr_relative_to_pc,
size_t  a_end_addr,
bool  a_end_addr_relative_to_pc,
bool  a_pure_asm,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ disassemble() [2/2]

void nemiver::GDBEngine::disassemble ( size_t  a_start_addr,
bool  a_start_addr_relative_to_pc,
size_t  a_end_addr,
bool  a_end_addr_relative_to_pc,
const DisassSlot a_slot,
bool  a_pure_asm,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ disassemble_lines() [1/2]

void nemiver::GDBEngine::disassemble_lines ( const UString a_file_name,
int  a_line_num,
int  a_nb_disassembled_lines,
bool  a_pure_asm,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ disassemble_lines() [2/2]

void nemiver::GDBEngine::disassemble_lines ( const UString a_file_name,
int  a_line_num,
int  a_nb_disassembled_lines,
const DisassSlot a_slot,
bool  a_pure_asm,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ disconnect_from_remote_target()

void nemiver::GDBEngine::disconnect_from_remote_target ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ do_continue()

void nemiver::GDBEngine::do_continue ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ do_init()

void nemiver::GDBEngine::do_init ( IConfMgrSafePtr  a_conf_mgr)
virtual

Implements nemiver::IDebugger.

◆ enable_breakpoint() [1/2]

void nemiver::GDBEngine::enable_breakpoint ( const string &  a_break_num,
const BreakpointsSlot a_slot,
const UString a_cookie = "" 
)
virtual

Implements nemiver::IDebugger.

◆ enable_breakpoint() [2/2]

void nemiver::GDBEngine::enable_breakpoint ( const string &  a_break_num,
const UString a_cookie = "" 
)
virtual

Implements nemiver::IDebugger.

◆ enable_countpoint()

void nemiver::GDBEngine::enable_countpoint ( const string &  a_break_num,
bool  a_flag,
const UString a_cookie = "" 
)
virtual

Implements nemiver::IDebugger.

◆ enable_pretty_printing()

void nemiver::GDBEngine::enable_pretty_printing ( bool  a_flag)
virtual

Implements nemiver::IDebugger.

◆ engine_died_signal()

sigc::signal<void>& nemiver::GDBEngine::engine_died_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ error_signal()

sigc::signal<void, const UString&>& nemiver::GDBEngine::error_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ evaluate_expression()

void nemiver::GDBEngine::evaluate_expression ( const UString a_expr,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ evaluate_variable_expr() [1/2]

void nemiver::GDBEngine::evaluate_variable_expr ( const VariableSafePtr  a_var,
const ConstVariableSlot a_slot,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ evaluate_variable_expr() [2/2]

void nemiver::GDBEngine::evaluate_variable_expr ( const VariableSafePtr  a_var,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ execute_command()

void nemiver::GDBEngine::execute_command ( const Command a_command)

◆ exit_engine()

void nemiver::GDBEngine::exit_engine ( )
virtual

Implements nemiver::IDebugger.

◆ extract_global_variable_list()

bool nemiver::GDBEngine::extract_global_variable_list ( Output a_output,
VarsPerFilesMap a_vars 
)

◆ extract_proc_info()

bool nemiver::GDBEngine::extract_proc_info ( Output a_output,
int &  a_proc_pid,
UString a_exe_path 
)

◆ files_listed_signal()

sigc::signal<void, const vector<UString>&, const UString& >& nemiver::GDBEngine::files_listed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ frames_arguments_listed_signal()

sigc::signal<void, const map<int, list<IDebugger::VariableSafePtr> >&, const UString& >& nemiver::GDBEngine::frames_arguments_listed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ frames_listed_signal()

sigc::signal<void, const vector<IDebugger::Frame>&, const UString&>& nemiver::GDBEngine::frames_listed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ get_breakpoint_from_cache()

bool nemiver::GDBEngine::get_breakpoint_from_cache ( const string &  a_num,
IDebugger::Breakpoint a_bp 
) const
virtual

Implements nemiver::IDebugger.

◆ get_cached_breakpoints()

map<string, IDebugger::Breakpoint>& nemiver::GDBEngine::get_cached_breakpoints ( )
virtual

Implements nemiver::IDebugger.

◆ get_conf_mgr()

IConfMgr& nemiver::GDBEngine::get_conf_mgr ( )

◆ get_current_frame_address()

const Address& nemiver::GDBEngine::get_current_frame_address ( ) const

◆ get_current_frame_level()

int nemiver::GDBEngine::get_current_frame_level ( ) const
virtual

Implements nemiver::IDebugger.

◆ get_current_thread()

unsigned int nemiver::GDBEngine::get_current_thread ( ) const
virtual

Implements nemiver::IDebugger.

◆ get_debugger_full_path()

const UString& nemiver::GDBEngine::get_debugger_full_path ( ) const
virtual

Implements nemiver::IDebugger.

◆ get_env_variables()

map<UString, UString>& nemiver::GDBEngine::get_env_variables ( )
virtual

Implements nemiver::IDebugger.

◆ get_language_trait()

ILangTrait& nemiver::GDBEngine::get_language_trait ( )
virtual

Implements nemiver::IDebugger.

◆ get_mi_thread_and_frame_location()

void nemiver::GDBEngine::get_mi_thread_and_frame_location ( UString a_str) const

◆ get_mi_thread_location()

void nemiver::GDBEngine::get_mi_thread_location ( UString a_str) const

◆ get_state()

IDebugger::State nemiver::GDBEngine::get_state ( ) const
virtual

Implements nemiver::IDebugger.

◆ get_target_info()

void nemiver::GDBEngine::get_target_info ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ get_target_path()

const UString& nemiver::GDBEngine::get_target_path ( )
virtual

Implements nemiver::IDebugger.

◆ get_variable_type()

void nemiver::GDBEngine::get_variable_type ( const VariableSafePtr a_var,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ get_variable_value()

void nemiver::GDBEngine::get_variable_value ( const VariableSafePtr a_var,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ global_variables_listed_signal()

sigc::signal<void, const list<VariableSafePtr>&, const UString&>& nemiver::GDBEngine::global_variables_listed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ got_overloads_choice_signal()

sigc::signal<void, const vector<OverloadsChoiceEntry>&, const UString&>& nemiver::GDBEngine::got_overloads_choice_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ got_target_info_signal()

sigc::signal<void, int, const UString&>& nemiver::GDBEngine::got_target_info_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ inferior_re_run_signal()

sigc::signal<void>& nemiver::GDBEngine::inferior_re_run_signal ( ) const
virtual

Signal emitted whenever the inferior is re-run, using the function IDebugger::re_run.

Implements nemiver::IDebugger.

◆ init()

void nemiver::GDBEngine::init ( )

◆ init_output_handlers()

void nemiver::GDBEngine::init_output_handlers ( )

◆ instructions_disassembled_signal()

sigc::signal<void, const common::DisassembleInfo&, const std::list<common::Asm>&, const UString& >& nemiver::GDBEngine::instructions_disassembled_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ is_attached_to_target()

bool nemiver::GDBEngine::is_attached_to_target ( ) const
virtual

Implements nemiver::IDebugger.

◆ is_countpoint() [1/2]

bool nemiver::GDBEngine::is_countpoint ( const Breakpoint a_breakpoint) const
virtual

Implements nemiver::IDebugger.

◆ is_countpoint() [2/2]

bool nemiver::GDBEngine::is_countpoint ( const string &  a_break_num) const
virtual

Implements nemiver::IDebugger.

◆ is_running()

bool nemiver::GDBEngine::is_running ( ) const
virtual

Implements nemiver::IDebugger.

◆ is_variable_editable()

bool nemiver::GDBEngine::is_variable_editable ( const  VariableSafePtr) const
virtual

Implements nemiver::IDebugger.

◆ jump_to_position()

void nemiver::GDBEngine::jump_to_position ( const Loc a_loc,
const DefaultSlot a_slot 
)
virtual

Implements nemiver::IDebugger.

◆ list_breakpoints()

void nemiver::GDBEngine::list_breakpoints ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ list_changed_registers()

void nemiver::GDBEngine::list_changed_registers ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ list_changed_variables() [1/2]

void nemiver::GDBEngine::list_changed_variables ( VariableSafePtr  a_root,
const ConstVariableListSlot a_slot,
const UString a_cookie 
)
virtual

List the sub-variables of a_root (including a_root) which value changed since the last time this function was called.

Parameters
a_rootthe variable to consider
a_slotthe slot to be invoked upon completion of this function. That slot is going to be passed the list of sub-variables that have changed.

\a_cookie the cookie to be passed to the callback function IDebugger::changed_variables_signal

Implements nemiver::IDebugger.

◆ list_changed_variables() [2/2]

void nemiver::GDBEngine::list_changed_variables ( VariableSafePtr  a_root,
const UString a_cookie 
)
virtual

List the sub-variables of a_root (including a_root) which value changed since the last time this function was invoked.

Parameters
a_rootthe variable to consider
a_cookiethe cookie to be passed to the callback

Implements nemiver::IDebugger.

◆ list_files()

void nemiver::GDBEngine::list_files ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ list_frames() [1/2]

void nemiver::GDBEngine::list_frames ( int  a_low_frame,
int  a_high_frame,
const FrameVectorSlot a_slot,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ list_frames() [2/2]

void nemiver::GDBEngine::list_frames ( int  a_low_frame,
int  a_high_frame,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ list_frames_arguments() [1/2]

void nemiver::GDBEngine::list_frames_arguments ( int  a_low_frame,
int  a_high_frame,
const FrameArgsSlot a_slot,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ list_frames_arguments() [2/2]

void nemiver::GDBEngine::list_frames_arguments ( int  a_low_frame,
int  a_high_frame,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ list_global_variables()

void nemiver::GDBEngine::list_global_variables ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ list_local_variables() [1/2]

void nemiver::GDBEngine::list_local_variables ( const ConstVariableListSlot a_slot,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ list_local_variables() [2/2]

void nemiver::GDBEngine::list_local_variables ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ list_register_names()

void nemiver::GDBEngine::list_register_names ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ list_register_values() [1/2]

void nemiver::GDBEngine::list_register_values ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ list_register_values() [2/2]

void nemiver::GDBEngine::list_register_values ( std::list< register_id_t a_registers,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ list_threads()

void nemiver::GDBEngine::list_threads ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ load_core_file()

void nemiver::GDBEngine::load_core_file ( const UString a_prog_file,
const UString a_core_path 
)
virtual

Implements nemiver::IDebugger.

◆ load_program() [1/4]

bool nemiver::GDBEngine::load_program ( const UString a_prog)
virtual

Implements nemiver::IDebugger.

◆ load_program() [2/4]

bool nemiver::GDBEngine::load_program ( const UString a_prog,
const vector< UString > &  a_args 
)
virtual

Implements nemiver::IDebugger.

◆ load_program() [3/4]

bool nemiver::GDBEngine::load_program ( const UString a_prog,
const vector< UString > &  a_args,
const UString a_working_dir,
bool  a_force 
)
virtual

Implements nemiver::IDebugger.

◆ load_program() [4/4]

bool nemiver::GDBEngine::load_program ( const UString a_prog,
const vector< UString > &  a_argv,
const UString working_dir,
const vector< UString > &  a_source_search_dirs,
const UString a_slave_tty_path,
int  a_slave_tty_fd,
bool  a_uses_launch_tty,
bool  a_force 
)
virtual

Implements nemiver::IDebugger.

◆ local_variables_listed_signal()

sigc::signal<void, const list<VariableSafePtr>&, const UString&>& nemiver::GDBEngine::local_variables_listed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ log_message_signal()

sigc::signal<void, const UString&>& nemiver::GDBEngine::log_message_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ on_debugger_stdout_signal()

void nemiver::GDBEngine::on_debugger_stdout_signal ( CommandAndOutput a_cao)

◆ on_detached_from_target_signal()

void nemiver::GDBEngine::on_detached_from_target_signal ( )

◆ on_got_target_info_signal()

void nemiver::GDBEngine::on_got_target_info_signal ( int  a_pid,
const UString a_exe_path 
)

◆ on_program_finished_signal()

void nemiver::GDBEngine::on_program_finished_signal ( )

◆ on_rv_eval_var()

void nemiver::GDBEngine::on_rv_eval_var ( const  VariableSafePtr,
const UString ,
const ConstVariableSlot  
)

◆ on_rv_flag()

void nemiver::GDBEngine::on_rv_flag ( const  VariableSafePtr,
const UString ,
const ConstVariableSlot  
)

◆ on_rv_set_visualizer_on_members()

void nemiver::GDBEngine::on_rv_set_visualizer_on_members ( const  VariableSafePtr,
const UString ,
const ConstVariableSlot  
)

◆ on_rv_set_visualizer_on_next_sibling()

void nemiver::GDBEngine::on_rv_set_visualizer_on_next_sibling ( const  VariableSafePtr,
const UString ,
IDebugger::VariableList::iterator  ,
IDebugger::VariableList::iterator  ,
const ConstVariableSlot  
)

◆ on_rv_unfold_var()

void nemiver::GDBEngine::on_rv_unfold_var ( const  VariableSafePtr,
const UString ,
const ConstVariableSlot  
)

◆ on_stopped_signal()

void nemiver::GDBEngine::on_stopped_signal ( IDebugger::StopReason  a_reason,
bool  has_frame,
const IDebugger::Frame a_frame,
int  a_thread_id,
const string &  a_breakpoint_number,
const UString a_cookie 
)

◆ pointed_variable_value_signal()

sigc::signal<void, const UString&, const VariableSafePtr, const UString&>& nemiver::GDBEngine::pointed_variable_value_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ print_pointed_variable_value()

void nemiver::GDBEngine::print_pointed_variable_value ( const UString a_var_name,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ print_variable_type()

void nemiver::GDBEngine::print_variable_type ( const UString a_var_name,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ print_variable_value()

void nemiver::GDBEngine::print_variable_value ( const UString a_var_name,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ program_finished_signal()

sigc::signal<void>& nemiver::GDBEngine::program_finished_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ properties()

map<UString, UString>& nemiver::GDBEngine::properties ( )
virtual

Implements nemiver::IDebugger.

◆ pty_signal()

sigc::signal<void, Output&>& nemiver::GDBEngine::pty_signal ( ) const

◆ query_variable_format()

void nemiver::GDBEngine::query_variable_format ( const VariableSafePtr  a_var,
const ConstVariableSlot a_slot,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ query_variable_path_expr() [1/2]

void nemiver::GDBEngine::query_variable_path_expr ( const VariableSafePtr  a_root,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ query_variable_path_expr() [2/2]

void nemiver::GDBEngine::query_variable_path_expr ( const  VariableSafePtr,
const ConstVariableSlot a_slot,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ queue_command()

bool nemiver::GDBEngine::queue_command ( const Command a_command)

◆ re_run()

void nemiver::GDBEngine::re_run ( const DefaultSlot )
virtual

Implements nemiver::IDebugger.

◆ read_memory()

void nemiver::GDBEngine::read_memory ( size_t  a_start_addr,
size_t  a_num_bytes,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ read_memory_signal()

sigc::signal<void, size_t, const std::vector<uint8_t>&, const UString& >& nemiver::GDBEngine::read_memory_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ register_names_listed_signal()

sigc::signal<void, const std::map<register_id_t, UString>&, const UString& >& nemiver::GDBEngine::register_names_listed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ register_value_changed_signal()

sigc::signal<void, const UString&, const UString&, const UString& >& nemiver::GDBEngine::register_value_changed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ register_values_listed_signal()

sigc::signal<void, const std::map<register_id_t, UString>&, const UString& >& nemiver::GDBEngine::register_values_listed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ reset_command_queue()

void nemiver::GDBEngine::reset_command_queue ( )

◆ revisualize_variable() [1/2]

void nemiver::GDBEngine::revisualize_variable ( const VariableSafePtr  a_var,
bool  a_toggle_pretty_printing,
const ConstVariableSlot a_slot 
)

◆ revisualize_variable() [2/2]

void nemiver::GDBEngine::revisualize_variable ( const VariableSafePtr  a_var,
const ConstVariableSlot a_slot 
)
virtual

Implements nemiver::IDebugger.

◆ revisualize_variable_real()

void nemiver::GDBEngine::revisualize_variable_real ( IDebugger::VariableSafePtr  ,
const UString ,
const ConstVariableSlot a_slot 
)

◆ run()

void nemiver::GDBEngine::run ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ run_loop_iterations()

void nemiver::GDBEngine::run_loop_iterations ( int  a_nb_iters)
virtual

Implements nemiver::IDebugger.

◆ running_signal()

sigc::signal<void>& nemiver::GDBEngine::running_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ select_frame()

void nemiver::GDBEngine::select_frame ( int  a_frame_id,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ select_thread()

void nemiver::GDBEngine::select_thread ( unsigned int  a_thread_id,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ set_attached_to_target()

void nemiver::GDBEngine::set_attached_to_target ( bool  a_is_attached)

◆ set_breakpoint() [1/5]

void nemiver::GDBEngine::set_breakpoint ( const Address a_address,
const UString a_condition,
gint  a_ignore_count,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ set_breakpoint() [2/5]

void nemiver::GDBEngine::set_breakpoint ( const Loc a_loc,
const UString a_condition,
gint  a_ignore_count,
const BreakpointsSlot a_slot,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ set_breakpoint() [3/5]

void nemiver::GDBEngine::set_breakpoint ( const UString a_func_name,
const BreakpointsSlot a_slot,
const UString a_condition,
gint  a_ignore_count,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ set_breakpoint() [4/5]

void nemiver::GDBEngine::set_breakpoint ( const UString a_func_name,
const UString a_condition,
gint  a_ignore_count,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ set_breakpoint() [5/5]

void nemiver::GDBEngine::set_breakpoint ( const UString a_path,
gint  a_line_num,
const UString a_condition,
gint  a_ignore_count,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ set_breakpoint_condition()

void nemiver::GDBEngine::set_breakpoint_condition ( const string &  a_break_num,
const UString a_condition,
const UString a_cookie = "" 
)
virtual

Implements nemiver::IDebugger.

◆ set_breakpoint_ignore_count()

void nemiver::GDBEngine::set_breakpoint_ignore_count ( const string &  a_break_num,
gint  a_ignore_count,
const UString a_cookie = "" 
)
virtual

Implements nemiver::IDebugger.

◆ set_catch()

void nemiver::GDBEngine::set_catch ( const UString a_event,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ set_current_frame_address()

void nemiver::GDBEngine::set_current_frame_address ( const Address a_address)

◆ set_current_frame_level()

void nemiver::GDBEngine::set_current_frame_level ( int  )

◆ set_debugger_parameter()

void nemiver::GDBEngine::set_debugger_parameter ( const UString a_name,
const UString a_value 
)

◆ set_event_loop_context()

void nemiver::GDBEngine::set_event_loop_context ( const Glib::RefPtr< Glib::MainContext > &  )
virtual

Implements nemiver::IDebugger.

◆ set_memory()

void nemiver::GDBEngine::set_memory ( size_t  a_addr,
const std::vector< uint8_t > &  a_bytes,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ set_memory_signal()

sigc::signal<void, size_t, const std::vector<uint8_t>&, const UString& >& nemiver::GDBEngine::set_memory_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ set_non_persistent_debugger_path()

void nemiver::GDBEngine::set_non_persistent_debugger_path ( const UString a_full_path)
virtual

Implements nemiver::IDebugger.

◆ set_register_value()

virtual void nemiver::GDBEngine::set_register_value ( const UString a_reg_name,
const UString a_value,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ set_solib_prefix_path()

void nemiver::GDBEngine::set_solib_prefix_path ( const UString a_name)
virtual

Implements nemiver::IDebugger.

◆ set_state()

void nemiver::GDBEngine::set_state ( IDebugger::State  a_state)

◆ set_tty_path()

void nemiver::GDBEngine::set_tty_path ( const UString a_tty_path)
virtual

Implements nemiver::IDebugger.

◆ set_variable_format()

void nemiver::GDBEngine::set_variable_format ( const VariableSafePtr  a_var,
const Variable::Format  a_format,
const UString a_cookie 
)

◆ set_variable_visualizer()

void nemiver::GDBEngine::set_variable_visualizer ( const VariableSafePtr  a_var,
const std::string &  a_vizualizer,
const ConstVariableSlot a_slot 
)

◆ set_watchpoint()

void nemiver::GDBEngine::set_watchpoint ( const UString a_expression,
bool  a_write,
bool  a_read,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ signal_received_signal()

sigc::signal<void, const UString&, const UString&>& nemiver::GDBEngine::signal_received_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ state_changed_signal()

sigc::signal<void, IDebugger::State>& nemiver::GDBEngine::state_changed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ stderr_signal()

sigc::signal<void, Output&>& nemiver::GDBEngine::stderr_signal ( ) const

◆ stdout_signal()

sigc::signal<void, CommandAndOutput&>& nemiver::GDBEngine::stdout_signal ( ) const

◆ step_in()

void nemiver::GDBEngine::step_in ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ step_in_asm()

void nemiver::GDBEngine::step_in_asm ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ step_out()

void nemiver::GDBEngine::step_out ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ step_over()

void nemiver::GDBEngine::step_over ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ step_over_asm()

void nemiver::GDBEngine::step_over_asm ( const UString a_cookie)
virtual

Implements nemiver::IDebugger.

◆ stop_target()

bool nemiver::GDBEngine::stop_target ( )
virtual

Implements nemiver::IDebugger.

◆ stopped_signal()

sigc::signal<void, IDebugger::StopReason, bool, const IDebugger::Frame&, int, const string&, const UString& >& nemiver::GDBEngine::stopped_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ target_output_message_signal()

sigc::signal<void, const UString&>& nemiver::GDBEngine::target_output_message_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ thread_selected_signal()

sigc::signal<void, int, const Frame* const, const UString&>& nemiver::GDBEngine::thread_selected_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ threads_listed_signal()

sigc::signal<void, const list<int>, const UString& >& nemiver::GDBEngine::threads_listed_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ unfold_variable() [1/3]

void nemiver::GDBEngine::unfold_variable ( VariableSafePtr  a_var,
const ConstVariableSlot a_s,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ unfold_variable() [2/3]

void nemiver::GDBEngine::unfold_variable ( VariableSafePtr  a_var,
const ConstVariableSlot a_s,
const UString a_cookie,
bool  a_should_emit_signal 
)

◆ unfold_variable() [3/3]

void nemiver::GDBEngine::unfold_variable ( VariableSafePtr  a_var,
const UString a_cookie 
)
virtual

Implements nemiver::IDebugger.

◆ unfold_variable_with_visualizer()

void nemiver::GDBEngine::unfold_variable_with_visualizer ( const  VariableSafePtr,
const UString a_visualizer,
const ConstVariableSlot  
)

◆ variable_created_signal()

sigc::signal<void, const VariableSafePtr, const UString&>& nemiver::GDBEngine::variable_created_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ variable_deleted_signal()

sigc::signal<void, const VariableSafePtr, const UString&>& nemiver::GDBEngine::variable_deleted_signal ( ) const
virtual

This signal is emitted after IDebugger::delete_variable is called and the underlying backend-side variable object has been effectively deleted. Note that when no instance of VariableSafePtr has been passed to the IDebugger::delete_variable method, the first argument of this signal slot is a null pointer to VariableSafePtr.

Implements nemiver::IDebugger.

◆ variable_dereferenced_signal()

sigc::signal<void, const VariableSafePtr, const UString&>& nemiver::GDBEngine::variable_dereferenced_signal ( ) const
virtual

Emitted as a the result of the IDebugger::dereference_variable is call.

Implements nemiver::IDebugger.

◆ variable_expression_evaluated_signal()

sigc::signal<void, const VariableSafePtr, const UString&>& nemiver::GDBEngine::variable_expression_evaluated_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ variable_type_set_signal()

sigc::signal<void, const VariableSafePtr, const UString&>& nemiver::GDBEngine::variable_type_set_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ variable_type_signal()

sigc::signal<void, const UString&, const UString&, const UString&>& nemiver::GDBEngine::variable_type_signal ( ) const
virtual

Emitted as the result of the IDebugger::print_variable_type() call.

Implements nemiver::IDebugger.

◆ variable_unfolded_signal()

sigc::signal<void, const VariableSafePtr, const UString&>& nemiver::GDBEngine::variable_unfolded_signal ( ) const
virtual

Implements nemiver::IDebugger.

◆ variable_value_set_signal()

sigc::signal<void, const VariableSafePtr, const UString& >& nemiver::GDBEngine::variable_value_set_signal ( ) const
virtual

Emitted as the result of the IDebugger::get_variable_value() call.

Implements nemiver::IDebugger.

◆ variable_value_signal()

sigc::signal<void, const UString&, const IDebugger::VariableSafePtr, const UString&>& nemiver::GDBEngine::variable_value_signal ( ) const
virtual

Emitted as the result of the IDebugger::print_variable_value() call.

Implements nemiver::IDebugger.

◆ variable_visualized_signal()

sigc::signal<void, const VariableSafePtr, const UString&>& nemiver::GDBEngine::variable_visualized_signal ( ) const

Friends And Related Function Documentation

◆ Priv

friend struct Priv
friend

The documentation for this class was generated from the following file: