1 /* 2 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 * University Research and Technology 4 * Corporation. All rights reserved. 5 * Copyright (c) 2004-2009 The University of Tennessee and The University 6 * of Tennessee Research Foundation. All rights 7 * reserved. 8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 * University of Stuttgart. All rights reserved. 10 * Copyright (c) 2004-2005 The Regents of the University of California. 11 * All rights reserved. 12 * Copyright (c) 2007-2016 Cisco Systems, Inc. All rights reserved. 13 * $COPYRIGHT$ 14 * 15 * Additional copyrights may follow 16 * 17 * $HEADER$ 18 */ 19 20 /** 21 * @file 22 * 23 * MPI portion of debugger support 24 */ 25 26 #ifndef OMPI_DEBUGGERS_H 27 #define OMPI_DEBUGGERS_H 28 29 #include "ompi_config.h" 30 31 BEGIN_C_DECLS 32 33 /** 34 * Setup the magic constants so that the debugger can find the DLL 35 * necessary for understanding the queues and other structures. 36 */ 37 extern void ompi_debugger_setup_dlls(void); 38 39 /** 40 * Flag debugger will set when an application may proceed past 41 * MPI_INIT. This needs to live in ompi_debuggers.c so that it's 42 * compiled with -g, but is needed by the runtime framework for 43 * startup 44 */ 45 OMPI_DECLSPEC extern volatile int MPIR_debug_gate; 46 47 /** 48 * Flag debugger will set if application is being debugged. This 49 * needs to live in ompi_debuggers.c so that it's compiled with -g, 50 * but is needed by the runtime framework for startup. 51 */ 52 OMPI_DECLSPEC extern volatile int MPIR_being_debugged; 53 54 END_C_DECLS 55 56 #endif /* OMPI_DEBUGGERS_H */