Lines Matching defs:commands
59 2. standalone to send monitor commands to a running valgrind-ified process
74 Once all the commands are sent and their replies received, vgdb will exit.
1862 sends the provided commands (using qRcmd packets)
1867 char *commands[] )
1899 fprintf (stderr, "sending command %s to pid %d\n", commands[nc], pid);
1903 hexcommand = vmalloc (packet_len_for_command(commands[nc]));
1906 for (i = 0; i < strlen(commands[nc]); i++) {
1907 sprintf(hex, "%02x", commands[nc][i]);
2045 " 1. standalone to send monitor commands to a Valgrind gdbserver.\n"
2047 " To send more than one command, separate the commands with -c\n"
2268 commands must be big enough for the commands extracted from argv.
2269 On return, *p_last_command gives the position in commands where
2279 char *commands[])
2336 commands[last_command] = vmalloc (1);
2337 commands[last_command][0] = '\0';
2346 commands[last_command] = vmalloc (1);
2347 commands[last_command][0] = '\0';
2349 len = strlen(commands[last_command]);
2350 commands[last_command] = vrealloc (commands[last_command],
2353 strcat (commands[last_command], " ");
2354 strcat (commands[last_command], argv[i]);
2355 if (packet_len_for_command(commands[last_command]) > PBUFSIZ) {
2356 fprintf (stderr, "command %s too long\n", commands[last_command]);
2399 "Can't use --port to send commands\n");
2426 char *commands[argc]; // we will never have more commands than args.
2435 commands);
2465 standalone_send_commands(pid, last_command, commands);
2476 free (commands[i]);