gdb/gdbserver/remote-utils.h - gdb
Macros defined
Source code
- #ifndef REMOTE_UTILS_H
- #define REMOTE_UTILS_H
- extern int remote_debug;
- extern int noack_mode;
- extern int transport_is_reliable;
- int gdb_connected (void);
- #define STDIO_CONNECTION_NAME "stdio"
- int remote_connection_is_stdio (void);
- ptid_t read_ptid (char *buf, char **obuf);
- char *write_ptid (char *buf, ptid_t ptid);
- int putpkt (char *buf);
- int putpkt_binary (char *buf, int len);
- int putpkt_notif (char *buf);
- int getpkt (char *buf);
- void remote_prepare (char *name);
- void remote_open (char *name);
- void remote_close (void);
- void write_ok (char *buf);
- void write_enn (char *buf);
- void initialize_async_io (void);
- void enable_async_io (void);
- void disable_async_io (void);
- void check_remote_input_interrupt_request (void);
- void new_thread_notify (int id);
- void dead_thread_notify (int id);
- void prepare_resume_reply (char *buf, ptid_t ptid,
- struct target_waitstatus *status);
- const char *decode_address_to_semicolon (CORE_ADDR *addrp, const char *start);
- void decode_address (CORE_ADDR *addrp, const char *start, int len);
- void decode_m_packet (char *from, CORE_ADDR * mem_addr_ptr,
- unsigned int *len_ptr);
- void decode_M_packet (char *from, CORE_ADDR * mem_addr_ptr,
- unsigned int *len_ptr, unsigned char **to_p);
- int decode_X_packet (char *from, int packet_len, CORE_ADDR * mem_addr_ptr,
- unsigned int *len_ptr, unsigned char **to_p);
- int decode_xfer_write (char *buf, int packet_len,
- CORE_ADDR *offset, unsigned int *len,
- unsigned char *data);
- int decode_search_memory_packet (const char *buf, int packet_len,
- CORE_ADDR *start_addrp,
- CORE_ADDR *search_space_lenp,
- gdb_byte *pattern,
- unsigned int *pattern_lenp);
- void clear_symbol_cache (struct sym_cache **symcache_p);
- int look_up_one_symbol (const char *name, CORE_ADDR *addrp, int may_ask_gdb);
- int relocate_instruction (CORE_ADDR *to, CORE_ADDR oldloc);
- void monitor_output (const char *msg);
- #endif