aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-defs.h
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2008-01-01 18:42:08 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2008-01-01 18:42:08 +0000
commit33605d39628625079897972b9ecfa8d082000e67 (patch)
tree3fe43a725ef2b8984b03a92b437566bc6d761dac /sim/common/cgen-defs.h
parent1aa1b15b3c65608c90933855a5f5ec440d9277ce (diff)
downloadgdb-33605d39628625079897972b9ecfa8d082000e67.zip
gdb-33605d39628625079897972b9ecfa8d082000e67.tar.gz
gdb-33605d39628625079897972b9ecfa8d082000e67.tar.bz2
* win32-nat.c (psapi_module_handle): Remove static.
(get_module_name): Rename from psapi_get_dll_name. Revamp slightly to return first module found if base_address is zero. Don't initialize psapi function pointers here. Convert to cygwin paths when appropriate. (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine executable name. Use get_module_name when that fails or when !__CYGWIN__. (_initialize_psapi): New function. Initialize psapi stuff before it is needed or issue a warning if it is not found. Move psapi_module_handle here.
Diffstat (limited to 'sim/common/cgen-defs.h')
0 files changed, 0 insertions, 0 deletions