From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4340 invoked by alias); 29 Dec 2007 22:46:16 -0000 Received: (qmail 4331 invoked by uid 22791); 29 Dec 2007 22:46:16 -0000 X-Spam-Check-By: sourceware.org Received: from fk-out-0910.google.com (HELO fk-out-0910.google.com) (209.85.128.189) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 29 Dec 2007 22:46:09 +0000 Received: by fk-out-0910.google.com with SMTP id 26so5250118fkx.8 for ; Sat, 29 Dec 2007 14:46:07 -0800 (PST) Received: by 10.82.167.5 with SMTP id p5mr19570166bue.2.1198968366917; Sat, 29 Dec 2007 14:46:06 -0800 (PST) Received: from ?78.130.87.130? ( [78.130.87.130]) by mx.google.com with ESMTPS id 33sm15895803nfu.9.2007.12.29.14.46.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 29 Dec 2007 14:46:06 -0800 (PST) Message-ID: <4776CE2C.1080204@portugalmail.pt> Date: Sun, 30 Dec 2007 00:30:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sourceware.org, bodzio131@op.pl Subject: Re: PR/2386 [2/2]: MinGW attach to process without an exec file References: <47744F9C.8040604@portugalmail.pt> <47765912.5060600@portugalmail.pt> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00466.txt.bz2 Eli Zaretskii wrote: > How about ToolHelp32: is that available on NT? If so, perhaps using > it instead of Nt* internal APIs is a better way? > Only on NT >= 2000, and only returns the filename, not the full path, unlike on 9x. -- Pedro Alves