Squash glibc warning about _BSD_SOURCE being deprecated tests.
[valgrind.git] / coregrind / vgdb-invoker-none.c
blob4b1fe2dc379b4055379d59643c688000dfa543e1
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-2015 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, write to the Free Software
23 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
24 02111-1307, USA.
26 The GNU General Public License is contained in the file COPYING.
29 #include "vgdb.h"
31 #include <stdio.h>
32 #include <sys/time.h>
34 void invoker_restrictions_msg(void)
36 fprintf(stderr,
37 "Note: vgdb invoker not implemented on this platform.\n"
38 "For more info: read user manual section"
39 " 'Limitations of the Valgrind gdbserver'.\n");
42 void invoker_cleanup_restore_and_detach(void *v_pid)
44 DEBUG(1, "invoker_cleanup_restore_and_detach");
47 Bool invoker_invoke_gdbserver(pid_t pid)
49 DEBUG(2, "invoker_invoke_gdbserver not implemented\n");
50 /* Returning True signals to not retry (too soon) to invoke. */
51 return True;
54 void invoker_valgrind_dying(void)