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.
1884 sends the provided commands (using qRcmd packets)
1889 char *commands[] )
1921 fprintf (stderr, "sending command %s to pid %d\n", commands[nc], pid);
1925 hexcommand = vmalloc (packet_len_for_command(commands[nc]));
1928 for (i = 0; i < strlen(commands[nc]); i++) {
1929 sprintf(hex, "%02x", commands[nc][i]);
2067 " 1. standalone to send monitor commands to a Valgrind gdbserver.\n"
2069 " To send more than one command, separate the commands with -c\n"
2290 commands must be big enough for the commands extracted from argv.
2291 On return, *p_last_command gives the position in commands where
2301 char *commands[])
2358 commands[last_command] = vmalloc (1);
2359 commands[last_command][0] = '\0';
2368 commands[last_command] = vmalloc (1);
2369 commands[last_command][0] = '\0';
2371 len = strlen(commands[last_command]);
2372 commands[last_command] = vrealloc (commands[last_command],
2375 strcat (commands[last_command], " ");
2376 strcat (commands[last_command], argv[i]);
2377 if (packet_len_for_command(commands[last_command]) > PBUFSIZ) {
2378 fprintf (stderr, "command %s too long\n", commands[last_command]);
2421 "Can't use --port to send commands\n");
2448 char *commands[argc]; // we will never have more commands than args.
2457 commands);
2487 standalone_send_commands(pid, last_command, commands);
2498 free (commands[i]);