From 6fccd3b78824414ba256a77fd083d5ed0ac28248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 31 May 2004 21:38:09 +0000 Subject: [PATCH] Changed elf_lookup_symbol_address() prototype - due to the way it now returns its information, it's no longer safe to call this function outside the debugger. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7697 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/elf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/private/kernel/elf.h b/headers/private/kernel/elf.h index d7bc70c368..a3ba3385f3 100755 --- a/headers/private/kernel/elf.h +++ b/headers/private/kernel/elf.h @@ -20,7 +20,8 @@ status_t elf_load_user_image(const char *path, struct team *team, int flags, add image_id load_kernel_add_on(const char *path); status_t unload_kernel_add_on(image_id id); -status_t elf_lookup_symbol_address(addr_t address, addr_t *baseAddress, char *text, size_t length); +status_t elf_lookup_symbol_address(addr_t address, addr_t *_baseAddress, + const char **_symbolName, const char **_imageName, bool *_exactMatch); status_t elf_init(kernel_args *args); #ifdef __cplusplus