X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c899ebd07d146441aa70980fe389d18633863c35..51c23076e2b42ff07dc167dea1cb0e3a4ab3cf68:/src/xbt/backtrace_dummy.cpp diff --git a/src/xbt/backtrace_dummy.cpp b/src/xbt/backtrace_dummy.cpp index 4125fb7ac0..655a4c2200 100644 --- a/src/xbt/backtrace_dummy.cpp +++ b/src/xbt/backtrace_dummy.cpp @@ -1,23 +1,14 @@ /* backtrace_dummy -- stubs of this module for non-supported archs */ -/* Copyright (c) 2008-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2008-2018. 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" #include "src/xbt_modinter.h" -#include "src/xbt/ex_interface.h" -/* Module creation/destruction */ -void xbt_backtrace_preinit(void) -{ -} - -void xbt_backtrace_postexit(void) -{ -} +#include /* create a backtrace in the given exception */ size_t xbt_backtrace_current(xbt_backtrace_location_t* loc, size_t count) @@ -33,7 +24,7 @@ namespace simgrid { namespace xbt { std::vector resolveBacktrace( - xbt_backtrace_location_t* loc, std::size_t count) + xbt_backtrace_location_t const* loc, std::size_t count) { return std::vector(); }