diff --git a/ompi/debuggers/debuggers.h b/ompi/debuggers/debuggers.h index 066e8b4c62..fcb5a9ad21 100644 --- a/ompi/debuggers/debuggers.h +++ b/ompi/debuggers/debuggers.h @@ -2,7 +2,7 @@ * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. - * Copyright (c) 2004-2005 The University of Tennessee and The University + * Copyright (c) 2004-2009 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, @@ -33,12 +33,17 @@ BEGIN_C_DECLS /** * Wait for a debugger if asked. */ - OMPI_DECLSPEC void ompi_wait_for_debugger(void); + extern void ompi_wait_for_debugger(void); /** * Notify a debugger that we're about to abort */ - OMPI_DECLSPEC void ompi_debugger_notify_abort(char *string); + extern void ompi_debugger_notify_abort(char *string); + + /** + * Breakpoint function for parallel debuggers. + */ + OMPI_DECLSPEC void *MPIR_Breakpoint(void); END_C_DECLS diff --git a/orte/tools/orterun/debuggers.h b/orte/tools/orterun/debuggers.h index 997a156162..c99582de66 100644 --- a/orte/tools/orterun/debuggers.h +++ b/orte/tools/orterun/debuggers.h @@ -2,7 +2,7 @@ * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. - * Copyright (c) 2004-2007 The University of Tennessee and The University + * Copyright (c) 2004-2009 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, @@ -32,7 +32,7 @@ void orte_debugger_init_before_spawn(orte_job_t *jdata); void orte_debugger_init_after_spawn(orte_job_t *jdata); void orte_debugger_finalize(void); -extern void *MPIR_Breakpoint(void); +ORTE_DECLSPEC void *MPIR_Breakpoint(void); END_C_DECLS