GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
remote.h File Reference
#include "remote-notif.h"

Go to the source code of this file.

Classes

struct  send_remote_packet_callbacks
 

Macros

#define remote_debug_printf(fmt, ...)    debug_prefixed_printf_cond (remote_debug, "remote", fmt, ##__VA_ARGS__)
 
#define remote_debug_printf_nofunc(fmt, ...)
 
#define REMOTE_SCOPED_DEBUG_ENTER_EXIT    scoped_debug_enter_exit (remote_debug, "remote")
 

Functions

void getpkt (remote_target *remote, char **buf, long *sizeof_buf, int forever)
 
int putpkt (remote_target *remote, const char *buf)
 
void register_remote_g_packet_guess (struct gdbarch *gdbarch, int bytes, const struct target_desc *tdesc)
 
void register_remote_support_xml (const char *)
 
void remote_file_put (const char *local_file, const char *remote_file, int from_tty)
 
void remote_file_get (const char *remote_file, const char *local_file, int from_tty)
 
void remote_file_delete (const char *remote_file, int from_tty)
 
int remote_register_number_and_offset (struct gdbarch *gdbarch, int regnum, int *pnum, int *poffset)
 
void remote_notif_get_pending_events (remote_target *remote, const notif_client *np)
 
bool remote_target_is_non_stop_p (remote_target *t)
 
void send_remote_packet (gdb::array_view< const char > &buf, send_remote_packet_callbacks *callbacks)
 
bool is_remote_target (process_stratum_target *target)
 

Variables

bool remote_debug
 

Macro Definition Documentation

◆ remote_debug_printf

#define remote_debug_printf ( fmt,
... )    debug_prefixed_printf_cond (remote_debug, "remote", fmt, ##__VA_ARGS__)

◆ remote_debug_printf_nofunc

#define remote_debug_printf_nofunc ( fmt,
... )
Value:
debug_prefixed_printf_cond_nofunc (remote_debug, "remote", \
fmt, ##__VA_ARGS__)
bool remote_debug
Definition remote.c:92

Definition at line 40 of file remote.h.

Referenced by remote_target::getpkt(), and remote_target::putpkt_binary().

◆ REMOTE_SCOPED_DEBUG_ENTER_EXIT

#define REMOTE_SCOPED_DEBUG_ENTER_EXIT    scoped_debug_enter_exit (remote_debug, "remote")

Function Documentation

◆ getpkt()

void getpkt ( remote_target * remote,
char ** buf,
long * sizeof_buf,
int forever )
extern

◆ is_remote_target()

bool is_remote_target ( process_stratum_target * target)
extern

Definition at line 1332 of file remote.c.

References as_remote_target().

Referenced by target_to_connection_object().

◆ putpkt()

int putpkt ( remote_target * remote,
const char * buf )
extern

Definition at line 9703 of file remote.c.

References remote_state::buf, and remote_target::putpkt().

Referenced by remote_fileio_reply(), and remote_notif_stop_ack().

◆ register_remote_g_packet_guess()

void register_remote_g_packet_guess ( struct gdbarch * gdbarch,
int bytes,
const struct target_desc * tdesc )

◆ register_remote_support_xml()

void register_remote_support_xml ( const char * xml)

Definition at line 5606 of file remote.c.

References remote_support_xml, and xfree().

◆ remote_file_delete()

void remote_file_delete ( const char * remote_file,
int from_tty )

◆ remote_file_get()

void remote_file_get ( const char * remote_file,
const char * local_file,
int from_tty )

◆ remote_file_put()

void remote_file_put ( const char * local_file,
const char * remote_file,
int from_tty )

◆ remote_notif_get_pending_events()

void remote_notif_get_pending_events ( remote_target * remote,
const notif_client * np )
extern

Definition at line 8105 of file remote.c.

References remote_target::remote_notif_get_pending_events().

Referenced by remote_notif_process().

◆ remote_register_number_and_offset()

int remote_register_number_and_offset ( struct gdbarch * gdbarch,
int regnum,
int * pnum,
int * poffset )
extern

◆ remote_target_is_non_stop_p()

bool remote_target_is_non_stop_p ( remote_target * t)
extern

◆ send_remote_packet()

void send_remote_packet ( gdb::array_view< const char > & buf,
send_remote_packet_callbacks * callbacks )
extern

Variable Documentation

◆ remote_debug

bool remote_debug
extern