From: pefo Date: Mon, 14 Apr 1997 08:09:46 +0000 (+0000) Subject: struct elf_resolv has to be compatible with struct link_map or gdb will X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3fbb33ad15ed753422d4175a9461d3aa8840ea5e;p=openbsd struct elf_resolv has to be compatible with struct link_map or gdb will not be able to pick up loaded shared lib info. --- diff --git a/gnu/libexec/ld.so/ld.so/hash.h b/gnu/libexec/ld.so/ld.so/hash.h index fea594091b5..9f263cd81d9 100644 --- a/gnu/libexec/ld.so/ld.so/hash.h +++ b/gnu/libexec/ld.so/ld.so/hash.h @@ -13,12 +13,12 @@ struct elf_resolve{ /* These entries must be in this order to be compatible with the interface used by gdb to obtain the list of symbols. */ char * loadaddr; + char * loadoffs; char * libname; unsigned int dynamic_addr; struct elf_resolve * next; struct elf_resolve * prev; /* Nothing after this address is used by gdb. */ - char * loadoffs; enum {elf_lib, elf_executable,program_interpreter, loaded_file} libtype; struct dyn_elf * symbol_scope; unsigned short usage_count;