dbghelp: Cleanups for module loading (lookups on module name and image name are two...
authorEric Pouech <eric.pouech@wanadoo.fr>
Tue, 13 Mar 2007 16:33:02 +0000 (17:33 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 13 Mar 2007 19:58:08 +0000 (20:58 +0100)
commitade919c603cc92e3ef97d8bd39d20185514bbd21
tree391afceee055bcc5f1aee6f3f029b2da78a32904
parent59f93f64b752decc4fb1699a68d3996ba3ee383b
dbghelp: Cleanups for module loading (lookups on module name and image name are two different things)

- split up module_find_by_name in two different functions:
  + reused module_find_by_name which looks upon the module name
  + added module_is_already_loaded which looks upon the image name
- cleanup module loading using these functions (removed extra parameter
  to pe_load_module_from_pcs)
dlls/dbghelp/dbghelp_private.h
dlls/dbghelp/elf_module.c
dlls/dbghelp/module.c
dlls/dbghelp/pe_module.c
dlls/dbghelp/source.c
dlls/dbghelp/symbol.c