BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / debugger / auto_stack_trace / auto_stack_trace.cpp
blob10b353050914a77ad2abac041766e8808ae1dd14
1 /*
2 * Copyright 2008, Axel Dörfler, axeld@pinc-software.de
3 * Distributed under the terms of the MIT License.
4 */
7 #include <debug.h>
10 static void
11 enter_debugger(void)
13 evaluate_debug_command("sc");
17 static status_t
18 std_ops(int32 op, ...)
20 if (op == B_MODULE_INIT || op == B_MODULE_UNINIT)
21 return B_OK;
23 return B_BAD_VALUE;
27 static struct debugger_module_info sModuleInfo = {
29 "debugger/auto_stack_trace/v1",
31 &std_ops
33 enter_debugger,
34 NULL,
35 NULL,
36 NULL
39 module_info *modules[] = {
40 (module_info *)&sModuleInfo,
41 NULL