Added elf_get_image_info_for_address() to get an image info for a kernel

image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27300 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-09-03 14:47:26 +00:00
parent 5379de87bf
commit dd1c278d4b
2 changed files with 30 additions and 1 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
/*
* Copyright 2005, Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT license.
*
*
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
* Distributed under the terms of the NewOS License.
*/
@@ -31,6 +31,7 @@ status_t elf_debug_lookup_symbol_address(addr_t address, addr_t *_baseAddress,
status_t elf_debug_lookup_user_symbol_address(struct team* team, addr_t address,
addr_t *_baseAddress, const char **_symbolName,
const char **_imageName, bool *_exactMatch);
status_t elf_get_image_info_for_address(addr_t address, image_info* info);
status_t elf_init(struct kernel_args *args);
#ifdef __cplusplus