Lines Matching defs:commands
53 2. standalone to send monitor commands to a running valgrind-ified process
68 Once all the commands are sent and their replies received, vgdb will exit.
935 sends the provided commands (using qRcmd packets)
940 char *commands[] )
982 fprintf (stderr, "sending command %s to pid %d\n", commands[nc], pid);
986 hexcommand = vmalloc (packet_len_for_command(commands[nc]));
989 for (i = 0; i < strlen(commands[nc]); i++) {
990 sprintf(hex, "%02x", (unsigned char) commands[nc][i]);
1108 " 1. standalone to send monitor commands to a Valgrind gdbserver.\n"
1110 " To send more than one command, separate the commands with -c\n"
1332 commands must be big enough for the commands extracted from argv.
1333 On return, *p_last_command gives the position in commands where
1343 char *commands[])
1400 commands[last_command] = vmalloc (1);
1401 commands[last_command][0] = '\0';
1410 commands[last_command] = vmalloc (1);
1411 commands[last_command][0] = '\0';
1413 len = strlen(commands[last_command]);
1414 commands[last_command] = vrealloc (commands[last_command],
1417 strcat (commands[last_command], " ");
1418 strcat (commands[last_command], argv[i]);
1419 if (packet_len_for_command(commands[last_command]) > PBUFSIZ) {
1420 fprintf (stderr, "command %s too long\n", commands[last_command]);
1463 "Can't use --port to send commands\n");
1490 char *commands[argc]; // we will never have more commands than args.
1499 commands);
1529 standalone_send_commands(pid, last_command, commands);
1540 free (commands[i]);