* remote.c (extended_remote_restart): Pass buffer in call to
authorMark Kettenis <kettenis@gnu.org>
Wed, 22 Jun 2005 11:42:54 +0000 (11:42 +0000)
committerMark Kettenis <kettenis@gnu.org>
Wed, 22 Jun 2005 11:42:54 +0000 (11:42 +0000)
xsnprintf instead of a pointer to the buffer.

gdb/ChangeLog
gdb/remote.c

index b495f90e38bdc1ff615f96b58e1e7369533e0f5a..236e17e470cf31c8df7a2213ec61fefe7275fefb 100644 (file)
@@ -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>
 
        * MAINTAINERS: List GDB's Steering Committee as responsible for
index 1c5b1b129f41e33204e5902f426f86dda0a58d12..5b6125d7c037b5a7f4521535a286f828895fe393 100644 (file)
@@ -1923,7 +1923,7 @@ extended_remote_restart (void)
 
   /* Send the restart command; for reasons I don't understand the
      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);
 
   /* Now query for status so this looks just like we restarted
This page took 0.029832 seconds and 4 git commands to generate.