forked from auracaster/openocd
- add ability for openocd to communicate to gdb using pipes (stdin/stdout).
- this is enabled by new command line option option --pipe. git-svn-id: svn://svn.berlios.de/openocd/trunk@1242 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -34,9 +34,8 @@
|
||||
|
||||
enum connection_type
|
||||
{
|
||||
CONNECTION_GDB,
|
||||
CONNECTION_TELNET,
|
||||
CONNECTION_TCL,
|
||||
CONNECTION_TCP,
|
||||
CONNECTION_PIPE
|
||||
};
|
||||
|
||||
typedef struct connection_s
|
||||
@@ -76,6 +75,8 @@ extern int server_quit(void);
|
||||
extern int server_loop(command_context_t *command_context);
|
||||
extern int server_register_commands(command_context_t *context);
|
||||
|
||||
extern int server_use_pipes;
|
||||
|
||||
#define ERROR_SERVER_REMOTE_CLOSED (-400)
|
||||
#define ERROR_CONNECTION_REJECTED (-401)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user