* remote.c (extended_remote_restart): Pass buffer in call to
xsnprintf instead of a pointer to the buffer.
This commit is contained in:
parent
d620b259fb
commit
c8d511af85
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-06-22 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* remote.c (extended_remote_restart): Pass buffer in call to
|
||||||
|
xsnprintf instead of a pointer to the buffer.
|
||||||
|
|
||||||
2005-06-21 Andrew Cagney <cagney@gnu.org>
|
2005-06-21 Andrew Cagney <cagney@gnu.org>
|
||||||
|
|
||||||
* MAINTAINERS: List GDB's Steering Committee as responsible for
|
* MAINTAINERS: List GDB's Steering Committee as responsible for
|
||||||
|
|
|
@ -1923,7 +1923,7 @@ extended_remote_restart (void)
|
||||||
|
|
||||||
/* Send the restart command; for reasons I don't understand the
|
/* Send the restart command; for reasons I don't understand the
|
||||||
remote side really expects a number after the "R". */
|
remote side really expects a number after the "R". */
|
||||||
xsnprintf (&buf, rs->remote_packet_size, "R%x", 0);
|
xsnprintf (buf, rs->remote_packet_size, "R%x", 0);
|
||||||
putpkt (buf);
|
putpkt (buf);
|
||||||
|
|
||||||
/* Now query for status so this looks just like we restarted
|
/* Now query for status so this looks just like we restarted
|
||||||
|
|
Loading…
Reference in a new issue