2005-09-01 00:35:15 +04:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2009-09-30 08:07:55 +04:00
|
|
|
* Copyright (c) 2004-2009 The University of Tennessee and The University
|
2005-11-05 22:57:48 +03:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2005-09-01 00:35:15 +04:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2011-12-15 22:40:25 +04:00
|
|
|
* Copyright (c) 2007-2011 Cisco Systems, Inc. All rights reserved.
|
2005-09-01 00:35:15 +04:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
*
|
|
|
|
* MPI portion of debugger support
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef OMPI_DEBUGGERS_H
|
|
|
|
#define OMPI_DEBUGGERS_H
|
|
|
|
|
|
|
|
#include "ompi_config.h"
|
|
|
|
|
2008-03-05 15:22:34 +03:00
|
|
|
BEGIN_C_DECLS
|
|
|
|
|
2011-11-08 05:24:16 +04:00
|
|
|
/**
|
2013-01-28 03:25:10 +04:00
|
|
|
* Setup the magic constants so that the debugger can find the DLL
|
|
|
|
* necessary for understanding the queues and other structures.
|
2011-11-08 05:24:16 +04:00
|
|
|
*/
|
2013-01-28 03:25:10 +04:00
|
|
|
extern void ompi_debugger_setup_dlls(void);
|
2011-11-08 05:24:16 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Notify a debugger that we're about to abort
|
|
|
|
*/
|
|
|
|
extern void ompi_debugger_notify_abort(char *string);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Breakpoint function for parallel debuggers.
|
2012-01-11 19:53:09 +04:00
|
|
|
* This function is also defined in orterun for the starter.
|
|
|
|
* It should never conflict with this one
|
2011-11-08 05:24:16 +04:00
|
|
|
*/
|
2012-01-11 19:53:09 +04:00
|
|
|
OMPI_DECLSPEC void* MPIR_Breakpoint(void);
|
2008-09-20 15:34:37 +04:00
|
|
|
|
2013-01-28 03:25:10 +04:00
|
|
|
/**
|
|
|
|
* Flag debugger will set when an application may proceed past
|
|
|
|
* MPI_INIT. This needs to live in ompi_debuggers.c so that it's
|
|
|
|
* compiled with -g, but is needed by the runtime framework for
|
|
|
|
* startup
|
|
|
|
*/
|
|
|
|
OMPI_DECLSPEC extern volatile int MPIR_debug_gate;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Flag debugger will set if application is being debugged. This
|
|
|
|
* needs to live in ompi_debuggers.c so that it's compiled with -g,
|
|
|
|
* but is needed by the runtime framework for startup.
|
|
|
|
*/
|
|
|
|
OMPI_DECLSPEC extern volatile int MPIR_being_debugged;
|
|
|
|
|
2008-03-05 15:22:34 +03:00
|
|
|
END_C_DECLS
|
2005-09-01 00:35:15 +04:00
|
|
|
|
|
|
|
#endif /* OMPI_DEBUGGERS_H */
|