2005-08-31 20:35:15 +00:00
|
|
|
/*
|
2005-11-05 19:57:48 +00:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2009-09-30 04:07:55 +00:00
|
|
|
* Copyright (c) 2004-2009 The University of Tennessee and The University
|
2005-11-05 19:57:48 +00:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2005-08-31 20:35:15 +00: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.
|
2008-09-20 11:34:37 +00:00
|
|
|
* Copyright (c) 2007-2008 Cisco Systems, Inc. All rights reserved.
|
2005-08-31 20:35:15 +00: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"
|
2010-07-07 16:58:16 +00:00
|
|
|
#include "orte/mca/debugger/base/base.h"
|
2005-08-31 20:35:15 +00:00
|
|
|
|
2008-03-05 12:22:34 +00:00
|
|
|
BEGIN_C_DECLS
|
|
|
|
|
2005-08-31 20:35:15 +00:00
|
|
|
/**
|
2008-03-05 12:22:34 +00:00
|
|
|
* Wait for a debugger if asked.
|
2005-08-31 20:35:15 +00:00
|
|
|
*/
|
2009-09-30 04:07:55 +00:00
|
|
|
extern void ompi_wait_for_debugger(void);
|
2005-08-31 20:35:15 +00:00
|
|
|
|
2008-09-20 11:34:37 +00:00
|
|
|
/**
|
|
|
|
* Notify a debugger that we're about to abort
|
|
|
|
*/
|
2009-09-30 04:07:55 +00:00
|
|
|
extern void ompi_debugger_notify_abort(char *string);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Breakpoint function for parallel debuggers.
|
|
|
|
*/
|
2010-07-07 16:58:16 +00:00
|
|
|
ORTE_DECLSPEC extern void *MPIR_Breakpoint(void);
|
2008-09-20 11:34:37 +00:00
|
|
|
|
2008-03-05 12:22:34 +00:00
|
|
|
END_C_DECLS
|
2005-08-31 20:35:15 +00:00
|
|
|
|
|
|
|
#endif /* OMPI_DEBUGGERS_H */
|