Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Separate the dummy implementation of the backtraces into its own file (backtrace_dumm...
[simgrid.git] / src / xbt / backtrace_dummy.c
diff --git a/src/xbt/backtrace_dummy.c b/src/xbt/backtrace_dummy.c
new file mode 100644 (file)
index 0000000..8efe729
--- /dev/null
@@ -0,0 +1,20 @@
+/* $Id: ex_interface.h 3782 2007-07-14 09:11:06Z mquinson $ */
+
+/* backtrace_dummy -- stubs of this module for non-supported archs          */
+
+/* Copyright (c) 2003-2008, Da SimGrid team. All rights reserved.           */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#include "xbt/ex.h"
+#include "xbt/ex_private.h"
+
+/* Module creation/destruction */
+void xbt_backtrace_init(void) { }
+
+void xbt_backtrace_exit(void) { }
+
+/* create a backtrace in the given exception */
+void xbt_ex_setup_backtrace(xbt_ex_t *e)  { }
+