* Moved the addition of the basic debugger commands directly after the VM init.

* Separated the other stuff previously done in debug_init_post_vm() to the new
  debug_init_post_settings().
* Removed superfluous status_t return codes - they are ignored, anyway, and if
  there really is a show stopper in the init process, panicking would be the
  thing one should do.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36623 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-05-05 10:05:25 +00:00
parent 55d903d249
commit 8c8fcd770a
3 changed files with 21 additions and 14 deletions
+5 -4
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2008, Axel Dörfler, [email protected]
* Copyright 2002-2010, Axel Dörfler, [email protected]
* Distributed under the terms of the Haiku License.
*
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
@@ -114,9 +114,10 @@ extern "C" {
struct kernel_args;
extern status_t debug_init(struct kernel_args *args);
extern status_t debug_init_post_vm(struct kernel_args *args);
extern status_t debug_init_post_modules(struct kernel_args *args);
extern void debug_init(struct kernel_args *args);
extern void debug_init_post_vm(struct kernel_args *args);
extern void debug_init_post_settings(struct kernel_args *args);
extern void debug_init_post_modules(struct kernel_args *args);
extern void debug_early_boot_message(const char *string);
extern void debug_puts(const char *s, int32 length);
extern bool debug_debugger_running(void);