A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add sources for rngstreams
[simgrid.git]
/
src
/
xbt
/
backtrace_dummy.c
diff --git
a/src/xbt/backtrace_dummy.c
b/src/xbt/backtrace_dummy.c
index
8efe729
..
6873353
100644
(file)
--- a/
src/xbt/backtrace_dummy.c
+++ b/
src/xbt/backtrace_dummy.c
@@
-2,19
+2,30
@@
/* backtrace_dummy -- stubs of this module for non-supported archs */
/* backtrace_dummy -- stubs of this module for non-supported archs */
-/* Copyright (c) 2003-2008, Da SimGrid team. All rights reserved. */
+/* Copyright (c) 2008, 2009, 2010. The 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"
/* 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"
+#include "xbt
_modinter
.h"
/* Module creation/destruction */
/* Module creation/destruction */
-void xbt_backtrace_init(void) { }
+void xbt_backtrace_preinit(void)
+{
+}
-void xbt_backtrace_exit(void) { }
+void xbt_backtrace_postexit(void)
+{
+}
/* create a backtrace in the given exception */
/* create a backtrace in the given exception */
-void xbt_ex_setup_backtrace(xbt_ex_t *e) { }
-
+void xbt_backtrace_current(xbt_ex_t * e)
+{
+}
+
+/* prepare a backtrace for display */
+void xbt_ex_setup_backtrace(xbt_ex_t * e)
+{
+}