X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..ed1c81fc9bce2480dd944490032c7336ba68a19a:/src/xbt/backtrace_windows.c diff --git a/src/xbt/backtrace_windows.c b/src/xbt/backtrace_windows.c index 0b73f7753d..e65821630c 100644 --- a/src/xbt/backtrace_windows.c +++ b/src/xbt/backtrace_windows.c @@ -1,10 +1,8 @@ -/* $Id$ */ - /* backtrace_windows - backtrace displaying on windows platform */ /* This file is included by ex.c on need (windows x86) */ -/* Copyright (c) 2007 The 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. */ @@ -70,8 +68,8 @@ static HINSTANCE hlp_dbg_instance = NULL; static HANDLE process_handle = NULL; -/* Module creation/destruction: nothing to do on linux */ -void xbt_backtrace_init(void) +/* Module creation/destruction: initialize our tables */ +void xbt_backtrace_preinit(void) { process_handle = GetCurrentProcess(); @@ -132,7 +130,7 @@ void xbt_backtrace_init(void) } } -void xbt_backtrace_exit(void) +void xbt_backtrace_postexit(void) { if (!hlp_dbg_instance) return;