void ini_symbols_service(Protocol * proto) { static int ini_done = 0; if (!ini_done) { ini_symbols_lib(); ini_done = 1; } add_command_handler(proto, SYMBOLS, "getContext", command_get_context); add_command_handler(proto, SYMBOLS, "getChildren", command_get_children); add_command_handler(proto, SYMBOLS, "find", command_find_first); add_command_handler(proto, SYMBOLS, "findByName", command_find_by_name); add_command_handler(proto, SYMBOLS, "findByAddr", command_find_by_addr); add_command_handler(proto, SYMBOLS, "findInScope", command_find_in_scope); add_command_handler(proto, SYMBOLS, "list", command_list); add_command_handler(proto, SYMBOLS, "getArrayType", command_get_array_type); add_command_handler(proto, SYMBOLS, "getLocationInfo", command_get_location_info); add_command_handler(proto, SYMBOLS, "findFrameInfo", command_find_frame_info); /* Deprecated, use findFrameProps */ add_command_handler(proto, SYMBOLS, "findFrameProps", command_find_frame_props); add_command_handler(proto, SYMBOLS, "getSymFileInfo", command_get_sym_file_info); add_command_handler(proto, SYMBOLS, "getAddressInfo", command_get_address_info); }
void ini_symbols_service(Protocol * proto) { ini_symbols_lib(); add_command_handler(proto, SYMBOLS, "getContext", command_get_context); add_command_handler(proto, SYMBOLS, "getChildren", command_get_children); }
void ini_services(Protocol * proto, TCFBroadcastGroup * bcg) { #if SERVICE_Locator ini_locator_service(proto, bcg); #endif #if SERVICE_RunControl ini_run_ctrl_service(proto, bcg); #endif #if SERVICE_Breakpoints ini_breakpoints_service(proto, bcg); #endif #if SERVICE_Memory ini_memory_service(proto, bcg); #endif #if SERVICE_MemoryMap ini_memory_map_service(proto, bcg); #endif #if SERVICE_Registers ini_registers_service(proto, bcg); #endif #if SERVICE_StackTrace ini_stack_trace_service(proto, bcg); #endif #if SERVICE_Symbols ini_symbols_service(proto); #elif ENABLE_SymbolsProxy ini_symbols_lib(); #endif #if SERVICE_LineNumbers ini_line_numbers_service(proto); #elif ENABLE_LineNumbersProxy ini_line_numbers_lib(); #endif #if SERVICE_Processes ini_processes_service(proto); #endif #if SERVICE_FileSystem ini_file_system_service(proto); #endif #if SERVICE_SysMonitor ini_sys_mon_service(proto); #endif #if SERVICE_Expressions ini_expressions_service(proto); #endif #if SERVICE_Streams ini_streams_service(proto); #endif #if SERVICE_PathMap ini_path_map_service(proto, bcg); #endif #if SERVICE_Terminals ini_terminals_service(proto); #endif #if ENABLE_DebugContext ini_contexts(); #endif #if ENABLE_ELF ini_elf(); #endif #if ENABLE_Plugins plugins_load(proto, bcg); #endif ini_diagnostics_service(proto); ini_ext_services(proto, bcg); }