Bug 439685 compiler warning in callgrind/main.c
[valgrind.git] / coregrind / vgdb-invoker-none.c
blob561638df908e9db0f999606dfc357f48ea45fc09
1 /*--------------------------------------------------------------------*/
2 /*--- Empty implementation of vgdb invoker subsystem. ---*/
3 /*--------------------------------------------------------------------*/
5 /*
6 This file is part of Valgrind, a dynamic binary instrumentation
7 framework.
9 Copyright (C) 2011-2017 Philippe Waroquiers
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License as
13 published by the Free Software Foundation; either version 2 of the
14 License, or (at your option) any later version.
16 This program is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, see <http://www.gnu.org/licenses/>.
24 The GNU General Public License is contained in the file COPYING.
27 #include "vgdb.h"
29 #include <stdio.h>
30 #include <sys/time.h>
32 void invoker_restrictions_msg(void)
34 TSFPRINTF(stderr,
35 "Note: vgdb invoker not implemented on this platform.\n"
36 "For more info: read user manual section"
37 " 'Limitations of the Valgrind gdbserver'.\n");
40 void invoker_cleanup_restore_and_detach(void *v_pid)
42 DEBUG(1, "invoker_cleanup_restore_and_detach");
45 Bool invoker_invoke_gdbserver(pid_t pid)
47 DEBUG(2, "invoker_invoke_gdbserver not implemented\n");
48 /* Returning True signals to not retry (too soon) to invoke. */
49 return True;
52 void invoker_valgrind_dying(void)