* Added arch_debug_contains_call() function that returns wether or not

a call chain contains a specific symbol (or address).
* Added a new KDL command "calling" that you can use to get a list of
  threads that have a specific function in their call chain.
* Removed extraneous white space.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24594 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-03-26 17:08:51 +00:00
parent c32f787401
commit 758962ec3b
5 changed files with 117 additions and 16 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2005, Axel Dörfler, [email protected].
* Copyright 2005-2008, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
@@ -12,6 +12,7 @@
#include <SupportDefs.h>
struct kernel_args;
struct thread;
#ifdef __cplusplus
@@ -20,6 +21,8 @@ extern "C" {
status_t arch_debug_init(kernel_args *args);
void *arch_debug_get_caller(void);
bool arch_debug_contains_call(struct thread *thread, const char *symbol,
addr_t start, addr_t end);
void arch_debug_save_registers(int *);
#ifdef __cplusplus