mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-17 18:43:25 +08:00
2008-09-03 Angela Marie Thomas <angela@releasedominatrix.com>
* ser-tcp.c (ser_tcp_send_break): New function. (_initialize_ser_tcp): Use ser_tcp_send_break. * ser-tcp.h (ser_tcp_send_break): New prototype. 2008-09-03 Angela Marie Thomas <angela@releasedominatrix.com> * gdb.texinfo (Interrupts): Mention TCP interface for sending BREAK.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2008-09-03 Angela Marie Thomas <angela@releasedominatrix.com>
|
||||||
|
|
||||||
|
* ser-tcp.c (ser_tcp_send_break): New function.
|
||||||
|
(_initialize_ser_tcp): Use ser_tcp_send_break.
|
||||||
|
* ser-tcp.h (ser_tcp_send_break): New prototype.
|
||||||
|
|
||||||
2008-09-03 Ulrich Weigand <uweigand@de.ibm.com>
|
2008-09-03 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* spu-tdep.c (spu_push_dummy_call): Update all stack pointer slots
|
* spu-tdep.c (spu_push_dummy_call): Update all stack pointer slots
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2008-09-03 Angela Marie Thomas <angela@releasedominatrix.com>
|
||||||
|
|
||||||
|
* gdb.texinfo (Interrupts): Mention TCP interface for
|
||||||
|
sending BREAK.
|
||||||
|
|
||||||
2008-08-26 Ulrich Weigand <uweigand@de.ibm.com>
|
2008-08-26 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* gdb.texinfo (Commands to Specify Files): Document "remote:"
|
* gdb.texinfo (Commands to Specify Files): Document "remote:"
|
||||||
|
@ -26054,9 +26054,10 @@ control of which is specified via @value{GDBN}'s @samp{remotebreak}
|
|||||||
setting (@pxref{set remotebreak}).
|
setting (@pxref{set remotebreak}).
|
||||||
|
|
||||||
The precise meaning of @code{BREAK} is defined by the transport
|
The precise meaning of @code{BREAK} is defined by the transport
|
||||||
mechanism and may, in fact, be undefined. @value{GDBN} does
|
mechanism and may, in fact, be undefined. @value{GDBN} does not
|
||||||
not currently define a @code{BREAK} mechanism for any of the network
|
currently define a @code{BREAK} mechanism for any of the network
|
||||||
interfaces.
|
interfaces except for TCP, in which case @value{GDBN} sends the
|
||||||
|
@code{telnet} BREAK sequence.
|
||||||
|
|
||||||
@samp{Ctrl-C}, on the other hand, is defined and implemented for all
|
@samp{Ctrl-C}, on the other hand, is defined and implemented for all
|
||||||
transport mechanisms. It is represented by sending the single byte
|
transport mechanisms. It is represented by sending the single byte
|
||||||
|
@ -1256,7 +1256,7 @@ _initialize_ser_windows (void)
|
|||||||
ops->write = ser_base_write;
|
ops->write = ser_base_write;
|
||||||
ops->flush_output = ser_base_flush_output;
|
ops->flush_output = ser_base_flush_output;
|
||||||
ops->flush_input = ser_base_flush_input;
|
ops->flush_input = ser_base_flush_input;
|
||||||
ops->send_break = ser_base_send_break;
|
ops->send_break = ser_tcp_send_break;
|
||||||
ops->go_raw = ser_base_raw;
|
ops->go_raw = ser_base_raw;
|
||||||
ops->get_tty_state = ser_base_get_tty_state;
|
ops->get_tty_state = ser_base_get_tty_state;
|
||||||
ops->set_tty_state = ser_base_set_tty_state;
|
ops->set_tty_state = ser_base_set_tty_state;
|
||||||
|
@ -257,6 +257,13 @@ net_write_prim (struct serial *scb, const void *buf, size_t count)
|
|||||||
return send (scb->fd, buf, count, 0);
|
return send (scb->fd, buf, count, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
ser_tcp_send_break (struct serial *scb)
|
||||||
|
{
|
||||||
|
/* Send telnet IAC and BREAK characters. */
|
||||||
|
return (serial_write (scb, "\377\363", 2));
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_initialize_ser_tcp (void)
|
_initialize_ser_tcp (void)
|
||||||
{
|
{
|
||||||
@ -276,7 +283,7 @@ _initialize_ser_tcp (void)
|
|||||||
ops->write = ser_base_write;
|
ops->write = ser_base_write;
|
||||||
ops->flush_output = ser_base_flush_output;
|
ops->flush_output = ser_base_flush_output;
|
||||||
ops->flush_input = ser_base_flush_input;
|
ops->flush_input = ser_base_flush_input;
|
||||||
ops->send_break = ser_base_send_break;
|
ops->send_break = ser_tcp_send_break;
|
||||||
ops->go_raw = ser_base_raw;
|
ops->go_raw = ser_base_raw;
|
||||||
ops->get_tty_state = ser_base_get_tty_state;
|
ops->get_tty_state = ser_base_get_tty_state;
|
||||||
ops->set_tty_state = ser_base_set_tty_state;
|
ops->set_tty_state = ser_base_set_tty_state;
|
||||||
|
@ -26,5 +26,6 @@ extern int net_open (struct serial *scb, const char *name);
|
|||||||
extern void net_close (struct serial *scb);
|
extern void net_close (struct serial *scb);
|
||||||
extern int net_read_prim (struct serial *scb, size_t count);
|
extern int net_read_prim (struct serial *scb, size_t count);
|
||||||
extern int net_write_prim (struct serial *scb, const void *buf, size_t count);
|
extern int net_write_prim (struct serial *scb, const void *buf, size_t count);
|
||||||
|
extern int ser_tcp_send_break (struct serial *scb);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user