Revision 7ccfb2eb gdbstub.c

b/gdbstub.c
205 205
}
206 206

  
207 207
/* return -1 if error, 0 if OK */
208
static int put_packet(GDBState *s, char *buf)
208
static int put_packet(GDBState *s, const char *buf)
209 209
{
210 210
    int len, csum, i;
211 211
    uint8_t *p;
......
1259 1259
    %x  - target_ulong argument printed in hex.
1260 1260
    %lx - 64-bit argument printed in hex.
1261 1261
    %s  - string pointer (target_ulong) and length (int) pair.  */
1262
void gdb_do_syscall(gdb_syscall_complete_cb cb, char *fmt, ...)
1262
void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...)
1263 1263
{
1264 1264
    va_list va;
1265 1265
    char buf[256];

Also available in: Unified diff