This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog win32-nat.c
- From: cgf at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 1 Jan 2008 18:42:08 -0000
- Subject: src/gdb ChangeLog win32-nat.c
CVSROOT: /cvs/src
Module name: src
Changes by: cgf@sourceware.org 2008-01-01 18:42:08
Modified files:
gdb : ChangeLog win32-nat.c
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.9035&r2=1.9036
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/win32-nat.c.diff?cvsroot=src&r1=1.144&r2=1.145